start droopy with rights of lighttpd

This commit is contained in:
Matthias Strubel 2012-04-26 21:24:08 +02:00
parent 0f15746dda
commit f0d5b73191
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ $BRIDGE $INTERFACE "
find $UPLOADFOLDER/ -iname tmp\* -exec rm {} \;
log_daemon_msg "Starting droopy..."
start-stop-daemon -m --start --background --pidfile $PIDFILE_DROOPY --exec $PIRATEBOX/bin/droopy -- -H $HOST -d $UPLOADFOLDER -c "" -m "$DROOPY_TXT" $DROOPY_PORT
start-stop-daemon -c nobody:nogroup -m --start --background --pidfile $PIDFILE_DROOPY --exec $PIRATEBOX/bin/droopy -- -H $HOST -d $UPLOADFOLDER -c "" -m "$DROOPY_TXT" $DROOPY_PORT
log_end_msg $?
#Writing init-message and reset chat..

View file

@ -112,7 +112,7 @@ case "$1" in
#Delete 0 Byte Files
delete_empty.sh $UPLOADFOLDER
start-stop-daemon -m -S -b -p $PIDFILE_DROOPY -x $PIRATEBOX/bin/droopy -- -H $HOST -d $UPLOADFOLDER -m "$DROOPY_TXT" -c "" $DROOPY_PORT
start-stop-daemon -c nobody:nogroup -m -S -b -p $PIDFILE_DROOPY -x $PIRATEBOX/bin/droopy -- -H $HOST -d $UPLOADFOLDER -m "$DROOPY_TXT" -c "" $DROOPY_PORT
echo $?
#Writing init-message and reset chat..