From eb55626bb2ba19f3ae9911a82709dc9c994c8389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 21 Aug 2012 14:35:28 +0300 Subject: main/varnish: fix varnishd.initd reload, add flush * vcl.use does not take config file name * discard old, no longer used configs * add flush command to purge cache using appropriate ban --- main/varnish/varnishd.confd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/varnish/varnishd.confd') diff --git a/main/varnish/varnishd.confd b/main/varnish/varnishd.confd index ebce5948c..1b46706c2 100644 --- a/main/varnish/varnishd.confd +++ b/main/varnish/varnishd.confd @@ -5,7 +5,7 @@ CFG_FILE="/etc/varnish/default.vcl" # options passed to varnish on startup # please see the varnishd man page for more options -VARNISHD_OPTS="-a 127.0.0.1:8080 -b 127.0.0.1:80 -T $ADMINHOSTPORT" +VARNISHD_OPTS="-a 127.0.0.1:8080 -T $ADMINHOSTPORT -f $CFG_FILE" # arguments passed to varnishncsa # please see the varnishncsa man page for more options -- cgit v1.2.3