commit 52a65af7fb6e17506ce192585dcb14a513d23fb3 Author: Elan Ruusamäe <g...@pld-linux.org> Date: Mon May 10 13:52:16 2010 +0000
- workaround varnishnsca bug that if both -b and -c are specified, logs are completely mute Changed files: varnishncsa.init -> 1.7 varnishncsa.init | 6 ++++++ 1 file changed, 6 insertions(+) --- diff --git a/varnishncsa.init b/varnishncsa.init index 553e793..13f3cb8 100644 --- a/varnishncsa.init +++ b/varnishncsa.init @@ -41,6 +41,12 @@ start() { 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=$? ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/varnish.git/commitdiff/1da6da99515f74135181c120aebdf3d517671c02 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit