------------------------------------------------------------
revno: 1617
committer: James Hunt <[email protected]>
branch nick: upstart
timestamp: Thu 2014-04-24 11:35:33 +0100
message:
  * init/man.5:
    - Clarify default behaviour of 'respawn' stanza.
    - Add missing 'respawn limit unlimited' details.
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-03-11 14:44:56 +0000
+++ ChangeLog	2014-04-24 10:35:33 +0000
@@ -1,3 +1,9 @@
+2014-04-24  James Hunt  <[email protected]>
+
+	* init/man.5:
+	  - Clarify default behaviour of 'respawn' stanza.
+	  - Add missing 'respawn limit unlimited' details.
+
 2014-03-11  James Hunt  <[email protected]>
 
 	* NEWS: Release 1.12.1

=== modified file 'init/man/init.5'
--- init/man/init.5	2014-01-08 16:47:16 +0000
+++ init/man/init.5	2014-04-24 10:35:33 +0000
@@ -561,15 +561,23 @@
 .BR stop (8)
 command itself, are considered abnormal.  Tasks may exit with a zero
 exit status to prevent being respawned.
+Note that specifying this stanza
+.I without also specifying
+the
+.B respawn limit
+stanza will apply the default respawn limit as specified below.
 .\"
 .TP
-.B respawn limit \fICOUNT INTERVAL
+.B respawn limit \fR[\fICOUNT INTERVAL\fR|\fIunlimited\fR]
 Respawning is subject to a limit, if the job is respawned more than
 .I COUNT
 times in
 .I INTERVAL
 seconds, it will be considered to be having deeper problems and will
-be stopped. Default COUNT is 10. Default INTERVAL is 5 seconds.
+be stopped. Default COUNT is 10. Default INTERVAL is 5 seconds, unless
+.I unlimited
+is specified in which case no limit will be applied and the job will be
+respawned indefinitely.
 
 This only applies to automatic respawns and not the
 .BR restart (8)

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

Reply via email to