9 [ -r /etc
/conf.d
/$DAEMON ] && .
/etc
/conf.d
/$DAEMON
11 PID
=$
(pidof
-o %PPID
$DAEMON)
15 stat_busy
"Starting $DAEMON"
16 [ -z "$PID" ] && $DAEMON $ARGS &>/dev
/null
26 stat_busy
"Stopping $DAEMON"
27 [ -n "$PID" ] && kill $PID &>/dev
/null
38 stat_busy
"Giving $DAEMON 15s to stop" && stat_done
43 echo "usage: $0 {start|stop|restart}"