about summary refs log tree commit diff
path: root/kitd.8
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-10 17:16:53 -0400
committerJune McEnroe <june@causal.agency>2023-10-10 17:16:53 -0400
commit9d864e5526d39ef974557c9b406bc3ada03ed4c1 (patch)
tree115fef03a2dbd425e7da3b3e2feaa38beca14c04 /kitd.8
parentParse interval suffixes (diff)
downloadkitd-main.tar.gz
kitd-main.zip
Add maximum restart interval HEAD 1.0 main
Diffstat (limited to 'kitd.8')
-rw-r--r--kitd.810
1 files changed, 9 insertions, 1 deletions
diff --git a/kitd.8 b/kitd.8
index 4bce90b..54a9fa3 100644
--- a/kitd.8
+++ b/kitd.8
@@ -10,6 +10,7 @@
 .Nm
 .Op Fl d
 .Op Fl c Ar cooloff
+.Op Fl m Ar maximum
 .Op Fl n Ar name
 .Op Fl t Ar restart
 .Ar command ...
@@ -51,6 +52,13 @@ Do not daemonize.
 Log to standard error
 as well as
 .Xr syslog 3 .
+.It Fl m Ar maximum
+The maximum interval between restarts.
+.Pp
+The interval is interpreted as with
+.Fl c .
+The default maximum interval is
+.Sy 1h .
 .It Fl n Ar name
 Set the name of the process
 and the logging prefix.
@@ -58,7 +66,7 @@ The default is
 the last path component of
 .Ar command .
 .It Fl t Ar restart
-The initial interval between automatic restarts.
+The initial interval between restarts.
 This interval is doubled
 each time the child process
 is restarted.