[Pkg-varnish-devel] Bug#749272:
Terry Burton
tez at terryburton.co.uk
Mon Feb 8 14:13:22 UTC 2016
> I'll tag this as a "wishlist+wontfix" bug, and keep it open while waiting
> for policy around the use of /etc/default from systemd, upstart, and other
> init systems to settle.
Simulating the sourcing of /etc/default/<PACKAGE> by setting
EnvironmentFile to it appears to have become common practice. Search
"EnvironmentFile=\/etc\/default\/" at https://codesearch.debian.net/
Does this help with deciding this issue one way of the other?
We currently override the .service file as follows (on Jessie):
+EnvironmentFile=-/etc/default/varnish
ExecStartPre=/usr/sbin/varnishd -C -f /etc/varnish/default.vcl
-ExecStart=/usr/sbin/varnishd -a :6081 -T localhost:6082 -f
/etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m
+ExecStart=/usr/sbin/varnishd $DAEMON_OPTS
Hope this helps,
Terry
More information about the Pkg-varnish-devel
mailing list