aboutsummaryrefslogtreecommitdiffstats
path: root/community/runit/runit.initd
blob: 257ae605128c58468496121e34b175bac6c284b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run

command="/sbin/runsvdir"
command_args="/etc/service"
pidfile="/run/${SVCNAME}.pid"
command_background="true"
description="starts and monitors a collection of runsv(8) processes"
retry="SIGHUP/5"

depend() {
	need localmount
	after firewall
	if [ -x /sbin/socklog ]; then
		provide logger
	fi
}