varnish: systemd override depends on Varnish
gitea/ansible-roles/pipeline/head This commit looks good
Details
gitea/ansible-roles/pipeline/head This commit looks good
Details
Use Varnish version instead of Debian version to choose systemd override template, to make it forward compatiblepeertube
parent
b1138c07ee
commit
4d259d3c04
@ -0,0 +1,18 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/sbin/varnishd \
|
||||
-j {{ varnish_jail }} \
|
||||
{{ varnish_addresses | map('regex_replace', '^(.*)$', '-a \\1') | list | join(' ') }} \
|
||||
-P %t/%N/varnishd.pid \
|
||||
-T {{ varnish_management_address }} \
|
||||
-f {{ varnish_config_file }} \
|
||||
-S {{ varnish_secret_file }} \
|
||||
-s {{ varnish_storage }} \
|
||||
-p feature=+http2 \
|
||||
-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 }} \
|
||||
{{ varnish_additional_options }}
|
Loading…
Reference in New Issue