On Tue, Jun 26, 2012 at 2:01 PM, Rowan @ Jetboy <[email protected]> wrote:
> Ubuntu 12.04 Server x64, Varnish 3.0.2
>
> I'm trying to pipe varnishncsa's logs through Apache's rotatelogs, and
> running from the shell, things work fine:
>
> sudo varnishncsa -a -P /var/run/varnishncsa/varnishncsa.pid
> |/usr/sbin/rotatelogs /var/log/varnish/varnish.log.%Y%m%d%H 3600
[...]

I don't really know if this is the issue you're running, but maybe it
its. Check this out:

http://my.opera.com/cstrep/blog/2011/11/30/how-to-start-up-varnish-with-a-custom-cc-command-on-debian

I had some problems adding the -F to varnishncsa daemon and it worked.
Attaching the "bash -c" before the start-stop-daemon did the trick.
Maybe the init script is ignoring your parameters for the same reason.

-- 
[]'s
Hugo
www.devin.com.br

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to