6 PID
="$(cat /var/run/coredpy.pid 2>/dev/null)"
9 stat_busy
"Starting Core Service"
10 ([ -z "$PID" ] ||
[ -z "$(ps -ef | grep "$PID" | grep cored)" ]) && /usr
/sbin
/cored.py
-d
14 PID
=`cat /var/run/coredpy.pid`
20 stat_busy
"Stopping Core Service"
21 [ ! -z "$PID" ] && kill $PID &>/dev
/null
26 rm /var
/run
/coredpy.pid
35 echo "usage: $0 {start|stop|restart}"