]> git.pld-linux.org Git - packages/apache.git/commitdiff
- added reload (simple HUP)
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 22 Jul 2003 12:16:17 +0000 (12:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1.init -> 1.7

apache1.init

index 01eaf2cf324908b4d485f9e71568709ccfc3dbb2..1e006aef8d13fe560d1ef69b0729a05b5f4477b0 100644 (file)
@@ -63,6 +63,14 @@ case "$1" in
        RETVAL=$?
        /usr/sbin/httpd -S
        ;;
+  reload)
+       if [ -f /var/lock/subsys/httpd ]; then
+               msg_reloading httpd
+               kill -HUP `pidof httpd`
+       else
+               msg_not_running httpd
+       fi
+       ;;
   restart|force-reload)
        $0 stop
        $0 start
This page took 0.149407 seconds and 4 git commands to generate.