about summary refs log tree commit diff
KITD(8) System Manager's Manual KITD(8)

kitdprocess supervisor

kitd [-d] [-c cooloff] [-m maximum] [-n name] [-t restart] command ...

The kitd daemon supervises a child process, redirecting its standard output and standard error to syslog(3). When the child process exits, it is automatically restarted using exponential backoff.

The options are as follows:

cooloff
The interval for which the child process must live before the restart interval is reset to its initial value.

The interval may have a suffix of , m, or d for seconds, minutes, hours or days, respectively. Otherwise, the interval is in milliseconds.

The default cooloff interval is .

Do not daemonize. Log to standard error as well as syslog(3).
maximum
The maximum interval between restarts.

The interval is interpreted as with -c. The default maximum interval is .

name
Set the name of the process and the logging prefix. The default is the last path component of command.
restart
The initial interval between restarts. This interval is doubled each time the child process is restarted.

The interval is interpreted as with -c. The default restart interval is .

kitd responds to the following signals:

|
The signal is forwarded to the child process. kitd exits.
The status of the child process is logged.
| |
The signal is forwarded to the child process.

To set up supervisors for pounce(1):

# ln -s kitd /etc/rc.d/pounce_tilde
# ln -s kitd /etc/rc.d/pounce_libera
# rcctl enable pounce_tilde pounce_libera
# rcctl set pounce_tilde user _pounce
# rcctl set pounce_tilde flags pounce -h irc.tilde.chat defaults.conf
# rcctl set pounce_libera user _pounce
# rcctl set pounce_libera flags pounce -h irc.libera.chat defaults.conf
# rcctl start pounce_tilde pounce_libera

June McEnroe <june@causal.agency>

OpenBSD 7.8 October 10, 2023 KITD(8)
&follow=1'>NetBSD: include text.tar.xz man pages 2063.8Štěpán Němec 2022-10-16Update to Linux man-mages 6.00Štěpán Němec 2022-10-16Update to NetBSD 9.3Štěpán Němec 2022-09-18Make copyrights and AUTHORS consistentJune McEnroe 2022-07-27Update to FreeBSD 13.1 2062.83June McEnroe 2022-07-27openbsd: Include man pages from baseXX.tgzKeith Whitney 2022-05-08Update to OpenBSD 7.1 2062.73June McEnroe 2021-10-15Update to OpenBSD 7.0 2062.63June McEnroe 2021-08-29Update to Linux man-pages 5.13 2062.53Štěpán Němec 2021-08-26Update to NetBSD 9.2 2062.52June McEnroe 2021-08-26Support DESTDIR in install/uninstallJune McEnroe 2021-08-26Add version number generatorJune McEnroe 2021-08-22Add ISC license headerJune McEnroe 2021-08-22Update to Linux man-pages 5.12Štěpán Němec 2021-06-21Add manuals for macOS 11.3June McEnroe 2021-05-08Update to OpenBSD 6.9June McEnroe 2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe