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
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
;;