------------------------------------------------------------
revno: 1589
committer: James Hunt <[email protected]>
branch nick: upstart
timestamp: Wed 2014-01-08 16:47:16 +0000
message:
  * init/man/init.5: Explain valid syntax for stanzas
    accepting a signal (such as 'kill signal').
modified:
  ChangeLog
  init/man/init.5


--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk

Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to 
https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'ChangeLog'
--- ChangeLog	2014-01-02 09:09:28 +0000
+++ ChangeLog	2014-01-08 16:47:16 +0000
@@ -1,3 +1,8 @@
+2014-01-08  James Hunt  <[email protected]>
+
+	* init/man/init.5: Explain valid syntax for stanzas
+	  accepting a signal (such as 'kill signal').
+
 2014-01-02  James Hunt  <[email protected]>
 
 	* extra/man/upstart-udev-bridge.8: Corrected example event

=== modified file 'init/man/init.5'
--- init/man/init.5	2013-12-23 16:16:57 +0000
+++ init/man/init.5	2014-01-08 16:47:16 +0000
@@ -579,10 +579,12 @@
 .B normal exit \fISTATUS\fR|\fISIGNAL\fR...
 Additional exit statuses or even signals may be added, if the job
 process terminates with any of these it will not be considered to have
-failed and will not be respawned.
+failed and will not be respawned. A signal can be specified either
+as a full name (for example "\fISIGTERM\fP") or a partial name
+(for example "\fITERM\fP").
 
 .nf
-normal exit 0 1 TERM HUP
+normal exit 0 1 TERM SIGHUP
 .fi
 .\"
 .SS Instances
@@ -1027,7 +1029,11 @@
 Specifies the stopping signal, 
 .I SIGTERM
 by default, a job's main process will receive when stopping the
-running job.
+running job. The signal should be specified as a full name (for example
+"\fISIGTERM\fP") or a partial name (for example "\fITERM\fP"). Note
+that it is possible to specify the signal as a number (for example
+"\fI15\fP") although this should be avoided if at all possible since
+signal numbers may differ between systems.
 
 .nf
 kill signal INT
@@ -1038,7 +1044,11 @@
 Specifies the reload signal,
 .I SIGHUP
 by default, a job's main process will receive when reloading the
-running job.
+running job. The signal should be specified as a full name (for example
+"\fISIGHUP\fP") or a partial name (for example "\fIHUP\fP"). Note
+that it is possible to specify the signal as a number (for example
+"\fI1\fP") although this should be avoided if at all possible since
+signal numbers may differ between systems.
 
 .nf
 reload signal USR1

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to