From: realraum Date: Thu, 10 Sep 2009 02:22:34 +0000 (+0000) Subject: fixed initscript update-web-status name and pid file X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=fee466103e515cfb805d356bf0f74e3ba5f48337;p=svn42.git fixed initscript update-web-status name and pid file --- diff --git a/tuer.initscript b/tuer.initscript index 398df44..b75486d 100755 --- a/tuer.initscript +++ b/tuer.initscript @@ -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 ;;