ansible-roles/varnish/templates/varnish.conf.jessie.j2
Jérémy Lecour 67ce8de85e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
varnish: custom reload script is now useless
2020-12-20 23:25:34 +01:00

8 lines
555 B
Django/Jinja

# {{ ansible_managed }}
[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -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