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>

October 10, 2023 OpenBSD 7.8
pan>Add Trail of LightningJune McEnroe 2019-09-22Revert "Enable cookies in title"June McEnroe 2019-09-20Enable cookies in titleJune McEnroe 2019-09-16Use sensitivity aliases in TF2June McEnroe 2019-09-16Add The Just CityJune McEnroe 2019-09-12Only GET the final redirect locationJune McEnroe 2019-09-12Consume entire bodyJune McEnroe 2019-09-10Add title -v flagJune McEnroe 2019-09-10Use curl error bufferJune McEnroe 2019-09-10Set Accept-Encoding in titleJune McEnroe 2019-09-08Set title User-AgentJune McEnroe 2019-09-07Add -x flag to titleJune McEnroe 2019-09-07Ignore SIGPIPE in relayJune McEnroe 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe