From: Christian Pointner Date: Tue, 19 Jul 2011 22:22:31 +0000 (+0000) Subject: mifare-read can now be run as tuer (not root anymore) X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=1209e955f844c0a126702017629479046a0e3702;p=svn42.git mifare-read can now be run as tuer (not root anymore) --- diff --git a/tuer_core.initscript b/tuer_core.initscript index d2ce14f..65d3e81 100755 --- a/tuer_core.initscript +++ b/tuer_core.initscript @@ -40,8 +40,8 @@ start) start-stop-daemon --start --quiet --pidfile $PIDFILE_DOOR --name door_daemon --startas $EXE_DOOR -- -d $DOOR_DEV -s $DOOR_SOCKET -u $DOOR_USR -g $DOOR_GRP -P $PIDFILE_DOOR $DOOR_LOG log_end_msg $? log_daemon_msg "Starting door daemon" "checkcard" - start-stop-daemon --start --quiet --pidfile $PIDFILE_CARD -b -m --name checkcard.pl --startas $EXE_CARD -- $DOOR_SOCKET - #start-stop-daemon --start --quiet --pidfile $PIDFILE_CARD -c $DOOR_USR -b -m --name checkcard.pl --startas $EXE_CARD -- $DOOR_SOCKET + #start-stop-daemon --start --quiet --pidfile $PIDFILE_CARD -b -m --name checkcard.pl --startas $EXE_CARD -- $DOOR_SOCKET + start-stop-daemon --start --quiet --pidfile $PIDFILE_CARD -c $DOOR_USR -b -m --name checkcard.pl --startas $EXE_CARD -- $DOOR_SOCKET log_end_msg $? ;; stop)