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

apache.init

index 0432b79a7725dffdd4d6f4521d69ce8b6f11622e..ad1553ae37300a0c7a500b4c89bee8ca74999040 100644 (file)
@@ -64,8 +64,18 @@ case "$1" in
        $0 stop
        $0 start
        ;;
+  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|status}"
+       msg_usage "$0 {start|stop|restart|graceful|status}"
        exit 1
        ;;
 esac
This page took 0.0344 seconds and 4 git commands to generate.