]> git.pld-linux.org Git - packages/apache.git/commitdiff
- fixed the "unable to bind socket problem"
authorgausus <gausus@pld-linux.org>
Tue, 30 Mar 2004 09:35:25 +0000 (09:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.init -> 1.25

apache.init

index 468da5459de4e52f1ce1569aad350cb2c4e7c188..1a89109f612b7766ce33dc6c660aeeafb0bfc529 100644 (file)
@@ -54,6 +54,8 @@ case "$1" in
                msg_stopping httpd.${HTTPD_MPM}
                daemon httpd.${HTTPD_MPM} -f /etc/httpd/httpd.conf -k stop
                rm -f /var/lock/subsys/httpd /var/run/httpd.pid /var/run/httpd.loc* >/dev/null 2>&1
+               # Wait for the process to end. Int prevents "unable to bind socket error"
+               sleep 3
        else
                msg_not_running httpd.${HTTPD_MPM}
        fi
This page took 0.068867 seconds and 4 git commands to generate.