mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
start droopy with rights of lighttpd
This commit is contained in:
parent
0f15746dda
commit
f0d5b73191
|
@ -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..
|
||||
|
|
|
@ -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..
|
||||
|
|
Loading…
Reference in a new issue