aboutsummaryrefslogtreecommitdiffstats
path: root/build/test/varnish-init.sh
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-11-18 17:05:48 +0100
committerKristian Lyngstol <kly@kly.no>2016-11-18 17:05:48 +0100
commit06591202ce5549a949343f0f5f8959771a1b5657 (patch)
tree2d8b8ca28bf7715886a56fd477a62e4ca6812f2f /build/test/varnish-init.sh
parent6af39a472dc36b1b6c85e5bb24147ee16c0536c2 (diff)
Make the varnish include a persistent config
E.g.: For authorization. We bootstrap the file as empty by default, which means 0 authentication.
Diffstat (limited to 'build/test/varnish-init.sh')
-rwxr-xr-xbuild/test/varnish-init.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/test/varnish-init.sh b/build/test/varnish-init.sh
new file mode 100755
index 0000000..9b16722
--- /dev/null
+++ b/build/test/varnish-init.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+touch /opt/gondul/data/varnish-auth.vcl
+exec varnishd -a :80 -f /opt/gondul/extras/misc/varnish.vcl -F