blob: ee0327730c9a321d5f240091f7ef8ef3b3f2c80a (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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
|