diff options
author | tron <tron> | 1998-05-24 20:00:56 +0000 |
---|---|---|
committer | tron <tron> | 1998-05-24 20:00:56 +0000 |
commit | 805cb6a2f790db8234a1e4cb3dbb0be3c0c8ee83 (patch) | |
tree | b97b3eef015bddd34f6a74d10981e84096b87416 /www | |
parent | 10afe37625b3fc56b450d0e70079c915d78fe01d (diff) | |
download | pkgsrc-805cb6a2f790db8234a1e4cb3dbb0be3c0c8ee83.tar.gz |
Put logfile into "/var/run" and do not pollute syslog.
Diffstat (limited to 'www')
-rw-r--r-- | www/squid/patches/patch-ag | 23 |
1 files changed, 23 insertions, 0 deletions
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 |