varnish: Repair systemd unit for jessie/stretch

pull/162/head
Mathieu Trossevin 2 months ago
parent 08a4f1ed5f
commit 78dcec8656
Signed by: mtrossevin
GPG Key ID: D1DBB7EA828374E9
  1. 1
      CHANGELOG.md
  2. 2
      varnish/templates/varnish.conf.jessie.j2

@ -19,6 +19,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Fixed
* haproxy: make it so that munin doesn't break if there is a non default `haproxy_stats_path`
* varnish: make `-j <jail_config>` the first argument on jessie/stretch as it has to be the first argument there.
### Removed

@ -2,6 +2,6 @@
[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd -F -j {{ varnish_jail }} {{ varnish_addresses | map('regex_replace', '^(.*)$', '-a \\1') | list | join(' ') }} -T {{ varnish_management_address }} -f {{ varnish_config_file }} -S {{ varnish_secret_file }} -s {{ varnish_storage }} -p thread_pools={{ varnish_thread_pools }} -p thread_pool_add_delay={{ varnish_thread_pool_add_delay }} -p thread_pool_min={{ varnish_thread_pool_min }} -p thread_pool_max={{ varnish_thread_pool_max }}
ExecStart=/usr/sbin/varnishd -j {{ varnish_jail }} -F {{ varnish_addresses | map('regex_replace', '^(.*)$', '-a \\1') | list | join(' ') }} -T {{ varnish_management_address }} -f {{ varnish_config_file }} -S {{ varnish_secret_file }} -s {{ varnish_storage }} -p thread_pools={{ varnish_thread_pools }} -p thread_pool_add_delay={{ varnish_thread_pool_add_delay }} -p thread_pool_min={{ varnish_thread_pool_min }} -p thread_pool_max={{ varnish_thread_pool_max }}
ExecReload=
ExecReload=/etc/varnish/reload-vcl.sh

Loading…
Cancel
Save