apache: Wait until apache has stopped when we want to stop it
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Nov 2017 14:14:16 +0000 (14:14 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Nov 2017 14:14:16 +0000 (14:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/apache

index 7d04841..f2a9fb8 100644 (file)
@@ -68,7 +68,7 @@ case "$1" in
 
        stop)
                boot_mesg "Stopping Apache daemon..."
-               /usr/sbin/apachectl -k stop
+               killproc /usr/sbin/httpd
                evaluate_retval
                ;;