SVN: rc-scripts/branches/upstart_native/doc/upstart.txt

jajcus jajcus at pld-linux.org
Sat May 8 17:08:23 CEST 2010


Author: jajcus
Date: Sat May  8 17:08:23 2010
New Revision: 11401

Modified:
   rc-scripts/branches/upstart_native/doc/upstart.txt
Log:
- in init script emit the same signals would be emited by the upstart job

Modified: rc-scripts/branches/upstart_native/doc/upstart.txt
==============================================================================
--- rc-scripts/branches/upstart_native/doc/upstart.txt	(original)
+++ rc-scripts/branches/upstart_native/doc/upstart.txt	Sat May  8 17:08:23 2010
@@ -204,9 +204,9 @@
 e.g.::
 
 	msg_starting "syslog-ng"
-	emit starting JOB=_ SERVICE=syslog
+	emit starting JOB=syslog-ng SERVICE=syslog
 	daemon /usr/sbin/syslog-ng -f /etc/syslog-ng/syslog-ng.conf $OPTIONS
-	emit started JOB=_ SERVICE=syslog
+	emit started JOB=syslog-ng SERVICE=syslog
 	RETVAL=$?
 
 The ``emit`` function does nothing when upstart-controlled boot is disabled (not


More information about the pld-cvs-commit mailing list