From 805cb6a2f790db8234a1e4cb3dbb0be3c0c8ee83 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 24 May 1998 20:00:56 +0000 Subject: Put logfile into "/var/run" and do not pollute syslog. --- www/squid/patches/patch-ag | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 www/squid/patches/patch-ag (limited to 'www/squid') diff --git a/www/squid/patches/patch-ag b/www/squid/patches/patch-ag new file mode 100644 index 00000000000..f1efd1bef32 --- /dev/null +++ b/www/squid/patches/patch-ag @@ -0,0 +1,23 @@ +--- scripts/RunCache.in.orig Thu Oct 31 08:28:58 1996 ++++ scripts/RunCache.in Sun May 24 21:53:01 1998 +@@ -4,7 +4,7 @@ + + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-logdir=@localstatedir@ ++logdir=/var/run + PATH=@bindir@:/bin:/usr/bin + export PATH + +@@ -16,9 +16,9 @@ + + failcount=0 + while : ; do +- echo "Running: squid -sY $conf >> $logdir/squid.out 2>&1" ++ echo "Running: squid -Y $conf >> $logdir/squid.out 2>&1" + 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 -- cgit v1.2.3