26 lines
746 B
Text
26 lines
746 B
Text
$NetBSD: patch-ac,v 1.4 1999/05/02 12:49:43 tron Exp $
|
|
|
|
--- scripts/RunCache.in.orig Fri Jan 29 19:19:46 1999
|
|
+++ scripts/RunCache.in Sun May 2 14:36:10 1999
|
|
@@ -5,7 +5,7 @@
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
logdir=@localstatedir@
|
|
-PATH=@bindir@:/bin:/usr/bin
|
|
+PATH=@sbindir@:/bin:/usr/bin
|
|
export PATH
|
|
|
|
conf=""
|
|
@@ -16,10 +16,10 @@
|
|
|
|
failcount=0
|
|
while : ; do
|
|
- echo "Running: squid -sY $conf >> $logdir/squid.out 2>&1"
|
|
+ echo "Running: squid -Y $conf >> $logdir/squid.out 2>&1"
|
|
echo "Startup: `date`" >> $logdir/squid.out
|
|
start=`date '+%d%H%M%S'`
|
|
- squid -NsY $conf >> $logdir/squid.out 2>&1
|
|
+ squid -NY $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
|