aports/community/munin/munin-node.initd
2016-10-20 18:29:19 +02:00

23 lines
404 B
Plaintext

#!/sbin/openrc-run
# munin-node init.d file for alpine linux.
name=munin-node
pidfile=/run/munin/${name}.pid
command=/usr/sbin/munin-node
command_args="${EXTRA_OPTS}"
command_background="no"
depend() {
need net
after firewall
}
start_pre() {
checkpath -d -o munin:munin -m755 /run/munin
checkpath -d -o munin:munin -m755 /var/lib/munin/spool
checkpath -d -o munin:munin -m755 /var/log/munin
}