blob: 9ea948fea2c73b920a2924e2e382c1ff188c25ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-ac,v 1.3 1998/12/06 12:42:00 tron 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
|