6 PID
=`pidof -o %PPID /usr/bin/mpdscribble`
9 stat_busy
"Starting mpdscribble"
10 /usr
/bin
/mpdscribble
&
14 echo $PID > /var
/run
/mpdscribble.pid
15 add_daemon mpdscribble
20 stat_busy
"Stopping mpdscribble"
21 [ ! -z "$PID" ] && kill $PID &> /dev
/null
25 rm /var
/run
/mpdscribble.pid
36 echo "usage: $0 {start|stop|restart}"