|
@ -6,7 +6,8 @@ SERVICE_USE_PID=1 |
|
|
START=50 |
|
|
START=50 |
|
|
|
|
|
|
|
|
start() { |
|
|
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 |
|
|
service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|