mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
f9e9984818
This reverts commit 18d7593c72.
Buildbot did not build the new version successfully due to
krb5 detection problems. Let's revert to the previous version,
so that 17.01.1 can be built in a stable way.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
21 lines
357 B
Bash
21 lines
357 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
SERVICE_USE_PID=1
|
|
|
|
START=50
|
|
|
|
start() {
|
|
user_exists http || user_add http
|
|
[ -d /var/log/lighttpd ] || {
|
|
mkdir -m 0775 -p /var/log/lighttpd
|
|
chgrp www-data /var/log/lighttpd
|
|
}
|
|
service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
|
|
}
|
|
|
|
stop() {
|
|
service_stop /usr/sbin/lighttpd
|
|
}
|
|
|