varnish: Repair systemd unit for jessie/stretch
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
Mathieu Trossevin 2022-08-10 11:18:23 +02:00
parent 08a4f1ed5f
commit 78dcec8656
Signed by: mtrossevin
GPG Key ID: D1DBB7EA828374E9
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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