mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
Merge pull request #120 from chris5560/master
[PATCH] lighttpd: errorlog failed as non root user
This commit is contained in:
@@ -6,7 +6,8 @@ SERVICE_USE_PID=1
|
||||
START=50
|
||||
|
||||
start() {
|
||||
mkdir -m 0755 -p /var/log/lighttpd
|
||||
[ -d /var/log/lighttpd ] || mkdir -p /var/log/lighttpd
|
||||
chmod 0777 /var/log/lighttpd
|
||||
service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user