mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration
This commit is contained in:
@@ -7,12 +7,12 @@ umask 077
|
||||
|
||||
start() {
|
||||
echo -n "Starting lighttpd: "
|
||||
start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/lighttpd.pid -b --exec /usr/sbin/lighttpd -- -f /etc/lighttpd/lighttpd.conf -D
|
||||
start-stop-daemon -S -q -m -p /var/run/lighttpd.pid -b -x /usr/sbin/lighttpd -- -f /etc/lighttpd/lighttpd.conf -D
|
||||
echo "OK"
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping lighttpd: "
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/lighttpd.pid
|
||||
start-stop-daemon -K -q -p /var/run/lighttpd.pid
|
||||
echo "OK"
|
||||
}
|
||||
restart() {
|
||||
|
||||
Reference in New Issue
Block a user