]> git.pld-linux.org Git - packages/apache.git/commitdiff
- graceful reload support
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 26 Feb 2004 23:13:57 +0000 (23:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.init -> 1.20

apache.init

index 63ef00c679de244452651821f30f522cb3e34509..8c5df993c99a815749732e103009383f2c89e76a 100644 (file)
@@ -77,8 +77,17 @@ case "$1" in
                RETVAL=7
        fi
        ;;
+  graceful)
+       if [ -f /var/lock/subsys/httpd ]; then
+               msg_reloading httpd
+               killproc httpd -USR1
+               RETVAL=$?
+       else
+               msg_not_running httpd >&2
+               RETVAL=7
+       fi
   *)
-       msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
+       msg_usage "$0 {start|stop|restart|reload|force-reload|graceful|status}"
        exit 3
        ;;
 esac
This page took 1.466241 seconds and 4 git commands to generate.