Browse Source

varnish: fix start command when multiple addresses are present

tags/10.1.0^2
Jérémy Lecour 4 months ago
committed by Gitea
parent
commit
fa49369929
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      varnish/templates/varnish.conf.j2

+ 1
- 0
CHANGELOG.md View File

@@ -49,6 +49,7 @@ The **patch** part changes incrementally at each release.
* lxc-php: Install opensmtpd as intended
* mongodb: fix logrotate patterm on Debian buster
* evobackup-client: fixed the ssh connection test
* varnish: fix start command when multiple addresses are present

### Removed



+ 1
- 1
varnish/templates/varnish.conf.j2 View File

@@ -2,6 +2,6 @@

[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd -F -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 }}
ExecStart=/usr/sbin/varnishd -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