7 pidof
/usr
/sbin
/inspircd
12 stat_busy
"Starting inspircd"
14 if [ -z "$PID" ]; then
15 su
-s /bin
/sh
-c '/usr/sbin/inspircd --logfile /var/log/inspircd/startup.log --config /etc/inspircd/inspircd.conf' 'inspircd' > /dev
/null
30 stat_busy
"Stopping inspircd"
32 [ ! -z "$PID" ] && kill $PID
48 echo "usage: $0 {start|stop|restart}"