From 9d864e5526d39ef974557c9b406bc3ada03ed4c1 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 10 Oct 2023 17:16:53 -0400 Subject: Add maximum restart interval --- kitd.8 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'kitd.8') 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. -- cgit 1.4.1