[SCM] live-config branch, debian, updated. debian/3.0_a23-1-8-g345dbf9

Daniel Baumann daniel at debian.org
Thu Aug 4 19:25:27 UTC 2011


The following commit has been merged in the debian branch:
commit f914f8eeb33af7e697829bcdeddbd2aa7e3a8b0e
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Wed Jul 13 23:46:11 2011 +0200

    Reloading tty jobs gracefully in upstart config script.

diff --git a/scripts/config/016-upstart b/scripts/config/016-upstart
index d09e420..1916805 100755
--- a/scripts/config/016-upstart
+++ b/scripts/config/016-upstart
@@ -44,9 +44,11 @@ Configure_upstart ()
 	do
 		_TTY="$(basename ${_FILE} .conf)"
 
-		# reloading
-		stop ${_TTY}
-		start ${_TTY}
+		# Try reloading
+		if stop ${_TTY}
+		then
+			start ${_TTY}
+		fi
 	done
 
 	# Creating state file

-- 
live-config



More information about the debian-live-changes mailing list