Revert "Lighttpd: Fix for stricter permissions for logfiles"

This reverts commit d36e1d1b2c.
This commit is contained in:
Matthias Strubel 2017-07-01 19:26:21 +02:00
parent 0426eded45
commit 2ab5bf2046
2 changed files with 0 additions and 8 deletions

View File

@ -189,10 +189,6 @@ case "$1" in
#Start here the lighttpd i.e.
log_daemon_msg "Starting lighttpd..."
touch "$PIRATEBOX_FOLDER/tmp/break.log" \
"$PIRATEBOX_FOLDER/tmp/error.log"
chown $LIGHTTPD_USER:$LIGHTTPD_GROUP "$PIRATEBOX_FOLDER/tmp/break.log" \
"$PIRATEBOX_FOLDER/tmp/error.log"
start-stop-daemon --start --quiet --pidfile $PIDFILE_LIGHTTPD --exec /usr/sbin/lighttpd -- -f $CONF_LIGHTTPD
log_end_msg $?

View File

@ -183,10 +183,6 @@ case "$1" in
#Start here the lighttpd i.e.
echo "Starting lighttpd..."
touch "$PIRATEBOX_FOLDER/tmp/break.log" \
"$PIRATEBOX_FOLDER/tmp/error.log"
chown $LIGHTTPD_USER:$LIGHTTPD_GROUP "$PIRATEBOX_FOLDER/tmp/break.log" \
"$PIRATEBOX_FOLDER/tmp/error.log"
start-stop-daemon -S -q -p $PIDFILE_LIGHTTPD -x /usr/sbin/lighttpd -- -f $CONF_LIGHTTPD
echo $?