Fix message problems with droopy startup

This commit is contained in:
Matthias Strubel 2016-04-26 20:41:14 +02:00
parent 143e14d310
commit 5f98a0dcf2
2 changed files with 3 additions and 2 deletions

View File

@ -153,6 +153,7 @@ case "$1" in
if [ "$DROOPY_ENABLED" = "yes" ] ; then
#Start here the PirateBox-Parts droopy i.e.
log_daemon_msg "Starting droopy..."
#Delete 0 Byte Files
delete_empty.sh $UPLOADFOLDER
find $UPLOADFOLDER/ -iname tmp\* -exec rm {} \;
@ -161,7 +162,6 @@ case "$1" in
if [ "$DROOPY_USE_USER" = "yes" ] ; then
DROOPY_USER=" -c $LIGHTTPD_USER:$LIGHTTPD_GROUP "
fi
log_daemon_msg "Starting droopy..."
start-stop-daemon $DROOPY_USER -m --start --background --pidfile $PIDFILE_DROOPY --exec $PIRATEBOX/bin/droopy -- -d "$UPLOADFOLDER" -m "$DROOPY_TXT" --chmod $DROOPY_CHMOD $DROOPY_USERDIR $DROOPY_PORT
log_end_msg $?
fi

View File

@ -144,7 +144,8 @@ case "$1" in
if [ "$DROOPY_ENABLED" = "yes" ] ; then
#Start here the PirateBox-Parts droopy i.e. echo "Starting droopy..."
#Start here the PirateBox-Parts droopy i.e.
echo "Starting droopy..."
find $UPLOADFOLDER/ -iname tmp\* -exec rm {} \;
#Delete 0 Byte Files
delete_empty.sh $UPLOADFOLDER