pkgsrc/www/squid-current/patches/patch-ac

26 lines
743 B
Text

$NetBSD: patch-ac,v 1.2 1998/10/16 16:24:04 bad Exp $
--- scripts/RunCache.in.orig Tue Aug 4 22:59:32 1998
+++ scripts/RunCache.in Fri Oct 16 17:57:43 1998
@@ -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 -sY $conf >> $logdir/squid.out 2>&1
+ squid -Y $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