SOURCES: apache.init - fixed the "unable to bind socket problem"
wrobell
wrobell w pld-linux.org
Wto, 30 Mar 2004, 11:41:48 CEST
On Tue, Mar 30, 2004 at 11:35:32AM +0200, gausus wrote:
> Author: gausus Date: Tue Mar 30 09:35:32 2004 GMT
> Module: SOURCES Tag: HEAD
> ---- Log message:
> - fixed the "unable to bind socket problem"
>
> ---- Files affected:
> SOURCES:
> apache.init (1.24 -> 1.25)
>
> ---- Diffs:
>
> ================================================================
> Index: SOURCES/apache.init
> diff -u SOURCES/apache.init:1.24 SOURCES/apache.init:1.25
> --- SOURCES/apache.init:1.24 Sat Mar 20 22:04:40 2004
> +++ SOURCES/apache.init Tue Mar 30 11:35:25 2004
> @@ -54,6 +54,8 @@
> 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
to nie pomoże... u mnie nie zawsze pomoga... proponuję dać sleep infinity :-P
wrobell <wrobell w ite.pl>
Więcej informacji o liście dyskusyjnej pld-devel-pl