]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- "include_shell" needs $SHELL, which is not available if started via "service" command
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 21 Dec 2005 01:00:51 +0000 (01:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.init -> 1.6

lighttpd.init

index 378a1276227588593453ec46be060a4c46cd64ac..9a1d98723fa32bd455fd5db10d933262c0650e09 100644 (file)
@@ -33,7 +33,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/lighttpd ]; then
                msg_starting lighttpd
-               daemon lighttpd -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
+               daemon env SHELL=/bin/sh lighttpd -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/lighttpd
        else
This page took 0.042591 seconds and 4 git commands to generate.