add -j unix,user=vcache -F to varnishd call
authorPeter Palfrader <peter@palfrader.org>
Mon, 28 May 2018 09:15:22 +0000 (11:15 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 28 May 2018 09:15:22 +0000 (11:15 +0200)
modules/varnish/manifests/config.pp

index 3e5c522..e45edd8 100644 (file)
@@ -23,7 +23,7 @@ define varnish::config (
                                content  => @("EOF"),
                                        [Service]
                                        ExecStart=
-                                       ExecStart=/usr/sbin/varnishd ${listenstr} -T localhost:6082 -f /etc/varnish/${name}.vcl -S /etc/varnish/secret -s ${backend}
+                                       ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F ${listenstr} -T localhost:6082 -f /etc/varnish/${name}.vcl -S /etc/varnish/secret -s ${backend}
                                        | EOF
                        }