Don't use long options to start-stop-daemon as they may be disabled in the busybox configuration

This commit is contained in:
Hamish Moffatt
2008-03-18 00:20:24 +00:00
parent d97812e3a5
commit aa73d17530
6 changed files with 20 additions and 20 deletions

View File

@@ -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() {