summaryrefslogtreecommitdiffstats
path: root/munin-node/munin-node.finish
blob: 934ad4ad846f0b9667a550ab9ec5be99e2425d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# general config
. /etc/rc.conf
. /etc/rc.d/functions

BIN=/sbin/munin-node
OPTS=""
SVC=munin-node

echo "Stopping $SVC daemon"
PID=`pidof $BIN`
if [ -z "$PID" ]
then
rm -f /var/run/munin/$SVC.pid
rm_daemon $SVC
fi