diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-08-21 14:35:28 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-08-21 14:36:58 +0300 |
commit | eb55626bb2ba19f3ae9911a82709dc9c994c8389 (patch) | |
tree | fa59321d1c6e1b4ae90ad73c848b5b9fe55a2171 /main/varnish/varnishd.confd | |
parent | fd5b60a8060f5116f5778db9c199ec54a423fc51 (diff) | |
download | aports-eb55626bb2ba19f3ae9911a82709dc9c994c8389.tar.bz2 aports-eb55626bb2ba19f3ae9911a82709dc9c994c8389.tar.xz |
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
Diffstat (limited to 'main/varnish/varnishd.confd')
-rw-r--r-- | main/varnish/varnishd.confd | 2 |
1 files changed, 1 insertions, 1 deletions
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 |