mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
c4e09ca788
from Lydia Sobot, chilledfrogs disroot org ok op@ kitd supervises a child process, redirecting its standard output and standard error to syslog. When the child process exits, it is automatically restarted using exponential backoff. Homepage: https://git.causal.agency/kitd/about/
10 lines
112 B
Bash
10 lines
112 B
Bash
#!/bin/ksh
|
|
|
|
daemon="${TRUEPREFIX}/sbin/kitd -n ${0##*/}"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="kitd: ${0##*/}"
|
|
|
|
rc_cmd $1
|