]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- check angel process in status only if enabled
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 10 Jan 2010 18:30:13 +0000 (18:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.init -> 1.17

lighttpd.init

index 06f03c8621ce7b7f21d38df74023beb6e01c0bc6..957a0321f899e711f3818c46e0e5a6200c34b083 100644 (file)
@@ -193,9 +193,10 @@ case "$1" in
        checkconfig 1
        ;;
   status)
-       status lighttpd-angel
-       status lighttpd
-       RETVAL=$?
+       if is_yes "${LIGHT_ANGEL}"; then
+               status lighttpd-angel || RETVAL=$?
+       fi
+       status lighttpd || RETVAL=$?
        ;;
   *)
        msg_usage "$0 {start|stop|restart|reload|force-reload|graceful|configtest|flush-logs|status}"
This page took 0.056052 seconds and 4 git commands to generate.