Fix issue in Varnish systemd unit
The ExecReload key was not overridden correctly.
This commit is contained in:
parent
4ca37fddbc
commit
45fbbef950
|
@ -4,3 +4,6 @@
|
|||
name: varnish
|
||||
state: reloaded
|
||||
daemon_reload: yes
|
||||
|
||||
- name: reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
dest: /etc/systemd/system/varnish.service.d/varnish.conf
|
||||
force: yes
|
||||
backup: yes
|
||||
notify: reload systemd
|
||||
tags:
|
||||
- varnish
|
||||
|
||||
|
|
|
@ -3,4 +3,5 @@
|
|||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/sbin/varnishd -a {{ varnish_addresses | 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…
Reference in New Issue