diff --git a/HowtoVarnish.md b/HowtoVarnish.md index 99ec18d8..0e7d9110 100644 --- a/HowtoVarnish.md +++ b/HowtoVarnish.md @@ -43,7 +43,8 @@ ExecReload=/etc/varnish/reload-vcl.sh ~~~{.bash} #!/bin/sh UUID=`cat /proc/sys/kernel/random/uuid` -/usr/bin/varnishadm -T localhost:6082 -S /etc/varnish/secret "vcl.load vcl_$UUID /etc/varnish/default.vcl" \ +/usr/sbin/varnishd -C -f /etc/varnish/default.vcl >/dev/null \ + &&/usr/bin/varnishadm -T localhost:6082 -S /etc/varnish/secret "vcl.load vcl_$UUID /etc/varnish/default.vcl" \ && /usr/bin/varnishadm -T localhost:6082 -S /etc/varnish/secret "vcl.use vcl_$UUID" ~~~