aboutsummaryrefslogtreecommitdiff
path: root/man/openrc-run.8
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-09 18:20:52 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-09 18:30:08 -0500
commit3673040722b75c0a4d06fbeb272f917c7d1ea7c4 (patch)
tree1329fd5b6e8354c41d56c239f1f7d1127fc0dc28 /man/openrc-run.8
parent96c8ba2fb5f91a711ef5bfcfd8affe0b74ad18fe (diff)
supervise-daemon: add a --respawn-limit option
Allow limiting the number of times supervise-daemon will attempt to respawn a daemon once it has died to prevent infinite respawning. Also, set a reasonable default limit (10 times in a 5 second period). This is for issue #126.
Diffstat (limited to 'man/openrc-run.8')
-rw-r--r--man/openrc-run.86
1 files changed, 6 insertions, 0 deletions
diff --git a/man/openrc-run.8 b/man/openrc-run.8
index 25ec5b91..c7ac2ac1 100644
--- a/man/openrc-run.8
+++ b/man/openrc-run.8
@@ -167,6 +167,12 @@ Display name used for the above defined command.
Process name to match when signaling the daemon.
.It Ar stopsig
Signal to send when stopping the daemon.
+.It Ar respawn_limit
+Respawn limit
+.Xr supervise-daemon 8
+will use for this daemon. See
+.Xr supervise-daemon 8
+for more information about this setting.
.It Ar retry
Retry schedule to use when stopping the daemon. It can either be a
timeout in seconds or multiple signal/timeout pairs (like SIGTERM/5).