fixed initscript update-web-status name and pid file
[svn42.git] / tuer.initscript
index 398df44..b75486d 100755 (executable)
@@ -23,7 +23,7 @@ DOOR_GRP=nogroup
 
 PIDFILE1=${DIR_RUN}/door_daemon.pid
 PIDFILE2=${DIR_RUN}/checkcard.pid
-PIDFILE3=${DIR_RUN}/update_web_status.pid
+PIDFILE3=${DIR_RUN}/update-web-status.pid
 
 test -f $EXE_DOOR  || exit 1
 test -f $EXE_CARD  || exit 1
@@ -60,7 +60,7 @@ stop)
         start-stop-daemon --stop --quiet --pidfile $PIDFILE2 -m --name checkcard.pl
         log_end_msg $? 
        log_daemon_msg "Stopping door daemon" "update-web-status"
-        start-stop-daemon --stop --quiet --pidfile $PIDFILE3 -m --name update_web_status.py
+        start-stop-daemon --stop --quiet --pidfile $PIDFILE3 -m --name update-web-status.py
         log_end_msg $? 
        killall "mifare-read" 2>/dev/null
         ;;