aboutsummaryrefslogblamecommitdiffstats
path: root/community/runit/runit.initd
blob: 257ae605128c58468496121e34b175bac6c284b8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                    




                                     
 
 
#!/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
}