@@ -84,7 +84,7 @@
# Start daemon
echo -n " Starting daemon: "
- startproc -f -p $CDEMUD_PIDFILE $CDEMUD_BIN $DAEMON_ARGS
+ startproc -f $CDEMUD_BIN $DAEMON_ARGS
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
touch /var/lock/subsys/cdemu-daemon
@@ -98,7 +98,7 @@
stop() {
# Kill daemon with 'cdemud -k'
echo -n " Killing daemon: "
- killproc -p $CDEMUD_PIDFILE -TERM $CDEMUD_BIN
+ killproc -TERM $CDEMUD_BIN
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
:
@@ -138,7 +138,7 @@
rc_status -v
;;
status)
- checkproc -p $CDEMUD_PIDFILE $CDEMUD_BIN
+ checkproc $CDEMUD_BIN
rc_status -v
;;
restart)
|