harfbuzz: security bump to version 1.4.4
[buildroot-gz.git] / package / lighttpd / S50lighttpd
blob44ac257c18fb12abd2ef753dd44f207a83d44c77
1 #!/bin/sh
3 # Starts lighttpd.
6 start() {
7 printf "Starting lighttpd: "
8 start-stop-daemon -S -q -p /var/run/lighttpd.pid --exec /usr/sbin/lighttpd -- -f /etc/lighttpd/lighttpd.conf
9 echo "OK"
11 stop() {
12 printf "Stopping lighttpd: "
13 start-stop-daemon -K -q -p /var/run/lighttpd.pid
14 echo "OK"
16 restart() {
17 stop
18 start
21 case "$1" in
22 start)
23 start
25 stop)
26 stop
28 restart|reload)
29 restart
32 echo "Usage: $0 {start|stop|restart}"
33 exit 1
34 esac
36 exit $?