packages: varnish/varnishncsa.init - workaround varnishnsca bug that if bot...
glen
glen at pld-linux.org
Mon May 10 15:52:21 CEST 2010
Author: glen Date: Mon May 10 13:52:21 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- workaround varnishnsca bug that if both -b and -c are specified, logs are completely mute
---- Files affected:
packages/varnish:
varnishncsa.init (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/varnish/varnishncsa.init
diff -u packages/varnish/varnishncsa.init:1.6 packages/varnish/varnishncsa.init:1.7
--- packages/varnish/varnishncsa.init:1.6 Wed Nov 18 16:29:43 2009
+++ packages/varnish/varnishncsa.init Mon May 10 15:52:16 2010
@@ -41,6 +41,12 @@
opts="$opts -c"
fi
+ # -b and -c specified together does not work,
+ # however specifing neither of them assumes both are set
+ if is_yes "$LOG_BACKEND" && is_yes "$LOG_CLIENT"; then
+ opts=""
+ fi
+
msg_starting "Varnish NCSA logging daemon"
daemon --pidfile $pidfile /usr/bin/varnishncsa -a -w $logfile -D -P $pidfile $opts
RETVAL=$?
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/varnish/varnishncsa.init?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list