Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 29932 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +20 lines)
Line  Link Here
0
-- apache2.orig        2005-01-10 04:17:06.231176824 +0700
0
++ apache2     2005-01-10 06:33:46.049614944 +0700
Lines 68-73 Link Here
68
       /usr/sbin/apache2ctl stop >/dev/null
68
       /usr/sbin/apache2ctl stop >/dev/null
69
       start-stop-daemon -o --quiet --stop --pidfile ${PIDFILE}
69
       start-stop-daemon -o --quiet --stop --pidfile ${PIDFILE}
70
       eend $?
70
       eend $?
71
72
       if ps -C 'apache2' > /dev/null 2>&1; then
73
               cnt=0
74
               sleep 2
75
               ebegin "Watting for apache2 really stop"
76
               while ps -C 'apache2' > /dev/null 2>&1; do
77
                       cnt=`expr $cnt + 1`
78
                       if [ $cnt -gt 30 ]; then
79
                               eend 1 "Failed."
80
                               break
81
                       fi
82
                       sleep 2
83
                       echo -n "."
84
               done
85
               echo -n "done."
86
               eend 0
87
       else
88
               eend 0
89
       fi
71
}
90
}
72
reload() {
91
reload() {

Return to bug 29932