summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron>2001-09-18 16:12:11 +0000
committertron <tron>2001-09-18 16:12:11 +0000
commitb400bc3b2316528950472b9908cfb821f3afdca4 (patch)
tree2d2da7896207dc6a1fa847e8d6bfd5147860d9cf /www
parent95fc3ca085cf1061308bac916d3da32ac834a793 (diff)
downloadpkgsrc-b400bc3b2316528950472b9908cfb821f3afdca4.tar.gz
Wait upto 60 instead of 20 seconds for "squid" to terminate.
Diffstat (limited to 'www')
-rw-r--r--www/squid/files/squid.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/squid/files/squid.sh b/www/squid/files/squid.sh
index f8d00e6de99..89e369b88cd 100644
--- a/www/squid/files/squid.sh
+++ b/www/squid/files/squid.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: squid.sh,v 1.10 2001/07/30 07:30:12 tron Exp $
+# $NetBSD: squid.sh,v 1.11 2001/09/18 16:12:11 tron Exp $
#
# PROVIDE: squid
@@ -34,12 +34,12 @@ stop_nicely ()
${kill_command}
if [ ${DAEMON_PID} -ne 0 ]; then
echo -n '['
- for WAIT in 0 1 2 3 4 5 6 7 8 9
+ for WAIT in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
if kill -0 ${DAEMON_PID} >/dev/null 2>&1; then
- sleep 2
+ sleep 4
echo -n '.'
- test $WAIT -lt 9 || kill ${DAEMON_PID}
+ test $WAIT -lt 15 || kill ${DAEMON_PID}
else
break
fi