summaryrefslogtreecommitdiff
path: root/www/squid/files
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-09-18 16:12:11 +0000
committertron <tron@pkgsrc.org>2001-09-18 16:12:11 +0000
commitfdb89cb7cc842e9cbc4857c47b19a049890ec47a (patch)
tree2d2da7896207dc6a1fa847e8d6bfd5147860d9cf /www/squid/files
parentcdeabe49f6afa413f299b212281fc1eb441f7941 (diff)
downloadpkgsrc-fdb89cb7cc842e9cbc4857c47b19a049890ec47a.tar.gz
Wait upto 60 instead of 20 seconds for "squid" to terminate.
Diffstat (limited to 'www/squid/files')
-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