From 1209e955f844c0a126702017629479046a0e3702 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 19 Jul 2011 22:22:31 +0000 Subject: [PATCH] mifare-read can now be run as tuer (not root anymore) --- tuer_core.initscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.10.4