diff --git a/varnish.changes b/varnish.changes index 32e5ed5..a746f13 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 21 08:10:13 UTC 2022 - Bernhard Wiedemann + +- Make reload fail nicely on vcl syntax error +- Set TasksMax=16384 because default thread_pool_max is 5000 + ------------------------------------------------------------------- Mon Sep 19 02:44:04 UTC 2022 - Bernhard Wiedemann diff --git a/varnish.service b/varnish.service index 83c859e..962a800 100644 --- a/varnish.service +++ b/varnish.service @@ -21,6 +21,7 @@ PIDFile=/var/run/varnishd.pid ExecStart=/usr/sbin/varnishd -P /var/run/varnishd.pid -F $VARNISHD_PARAMS ExecReload=/usr/sbin/varnish_reload_vcl KillMode=mixed +TasksMax=16384 [Install] WantedBy=multi-user.target diff --git a/varnish_reload_vcl b/varnish_reload_vcl index be2695f..73bbf74 100644 --- a/varnish_reload_vcl +++ b/varnish_reload_vcl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Generate a unique timestamp ID for this version of the VCL TIME=$(date +%s)