slackbuilds_ponce/system/munin-node/rc.munin-node

23 lines
335 B
Text
Raw Normal View History

#!/bin/sh
# Startup script for munin-node
function munin_start {
/usr/sbin/munin-node
}
function munin_stop {
killall munin-node
}
if [ "$1" == 'start' ]; then
munin_start
elif [ "$1" == 'stop' ]; then
munin_stop
elif [ "$1" == 'restart' ]; then
munin_stop
munin_start
else
echo "usage: rc.munin-node start|stop|restart"
fi