]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Run* scripts need -N squid option
authorwessels <>
Sat, 30 Jan 1999 01:19:45 +0000 (01:19 +0000)
committerwessels <>
Sat, 30 Jan 1999 01:19:45 +0000 (01:19 +0000)
scripts/RunAccel.in
scripts/RunCache.in

index 3b7c4bfb1565e43499872d514be1c723a2ee38a6..eea05e5e1bc33ee7c1d56321fdc5209d99a81920 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#  $Id: RunAccel.in,v 1.4 1996/07/09 03:41:15 wessels Exp $
+#  $Id: RunAccel.in,v 1.5 1999/01/29 18:19:45 wessels Exp $
 
 # enable HTTP requests on port 80
 port="-a 80"
@@ -20,7 +20,7 @@ failcount=0
 while : ; do
        echo "Running: squid $port -s $conf >> $logdir/squid.out 2>&1"
        start=`date '+%d%H%M%S'`
-       squid $port -s $conf >> $logdir/squid.out 2>&1
+       squid -N $port -s $conf >> $logdir/squid.out 2>&1
        stop=`date '+%d%H%M%S'`
        t=`expr $stop - $start`
        if test 0 -le $t -a $t -lt 5 ; then
index f96b02789464bcaa3cf406bb109c6f185a9bd548..24aab3b7af1cf7aacac2957407c69cd573d5a2a0 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#  $Id: RunCache.in,v 1.8 1998/08/04 20:59:32 wessels Exp $
+#  $Id: RunCache.in,v 1.9 1999/01/29 18:19:46 wessels Exp $
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
@@ -19,7 +19,7 @@ while : ; do
        echo "Running: squid -sY $conf >> $logdir/squid.out 2>&1"
        echo "Startup: `date`" >> $logdir/squid.out
        start=`date '+%d%H%M%S'`
-       squid -sY $conf >> $logdir/squid.out 2>&1
+       squid -NsY $conf >> $logdir/squid.out 2>&1
        stop=`date '+%d%H%M%S'`
        t=`expr $stop - $start`
        if test 0 -le $t -a $t -lt 5 ; then