Revert "Lighttpd: Fix for stricter permissions for logfiles"
This reverts commit d36e1d1b2c
.
This commit is contained in:
parent
0426eded45
commit
2ab5bf2046
|
@ -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 $?
|
||||
|
||||
|
|
|
@ -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 $?
|
||||
|
||||
|
|
Loading…
Reference in New Issue