8 EXECUTABLE
="/usr/bin/php-cgi"
11 PID
=`pidof -o %PPID $EXECUTABLE`
15 stat_busy
"Starting $NAME Daemon"
16 [ -z "$PID" ] && $EXECUTABLE -b $BIND 2>&1 &
25 stat_busy
"Stopping $NAME Daemon"
26 [ ! -z "$PID" ] && kill $PID &>/dev
/null
40 echo "usage: $0 {start|stop|restart}"