<div dir="ltr">Hi,<div><br></div><div>I figured out where I could make a pull request to to fix my issues on github.</div><div><br></div><div>It seems that the first issue with the pidfile was already noticed by someone else and they've made a pull request here:</div><div><a href="https://github.com/varnishcache/pkg-varnish-cache/pull/16">https://github.com/varnishcache/pkg-varnish-cache/pull/16</a><br></div><div><br></div><div>I've made a pull request which fixes my second issue with the argument order:</div><div><a href="https://github.com/varnishcache/pkg-varnish-cache/pull/19">https://github.com/varnishcache/pkg-varnish-cache/pull/19</a><br></div><div><br></div><div>If they could be looked at, that would be sweet :)</div><div><br></div><div>Cheers,</div><div>Bert Hekman</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-17 11:56 GMT+01:00 Bert Hekman <span dir="ltr"><<a href="mailto:demontpx@gmail.com" target="_blank">demontpx@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I've just installed varnish 4.1 on a ubuntu trusty server and noticed two issues with the deb package.</div><div><br></div><div><br></div><div>The first is that the pidfile points to /run/.pid. I've found out that this filename is generated in /etc/init.d/varnish:</div><div><div><br></div><div>PIDFILE=/run/$NAME.pid</div></div><div><br></div><div>$NAME does not seem to be defined.</div><div><br></div><div><br></div><div>The second issue is when I want to use the -j argument. I should be able to configure this in /etc/default/varnish in the DAEMON_OPTS variable. But when I start the daemon, it fails with the following message:</div><div><div><br></div><div> * Starting HTTP accelerator varnish</div><div>   ...fail!</div><div>Error: <span style="white-space:pre-wrap"> </span>-j must be the first argument</div></div><div><br></div><div>When I put the -j argument as the first argument in the DAEMON_OPTS, it still fails. This is because in /etc/init.d/varnish "-P ${PIDFILE}" comes before "${DAEMON_OPTS}"</div><div><br></div><div>Cheers,</div><div>Bert Hekman</div></div>
</blockquote></div><br></div>