diff --git a/srcpkgs/varnish/files/varnish.service b/srcpkgs/varnish/files/varnish.service index d5b0aa66da9..acb6a532a27 100644 --- a/srcpkgs/varnish/files/varnish.service +++ b/srcpkgs/varnish/files/varnish.service @@ -3,7 +3,7 @@ Description=Web Application Accelerator After=network.target [Service] -ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -u nobody -g nobody -F +ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -u nobody -g nogroup -F ExecReload=/usr/bin/varnish-vcl-reload [Install] diff --git a/srcpkgs/varnish/template b/srcpkgs/varnish/template index dedbca0b024..fb92745adc2 100644 --- a/srcpkgs/varnish/template +++ b/srcpkgs/varnish/template @@ -1,7 +1,7 @@ # Template file for 'varnish' pkgname=varnish version=3.0.3 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" makedepends="pkg-config pcre-devel readline-devel" @@ -22,6 +22,7 @@ long_desc=" subpackages="libvarnishapi libvarnishapi-devel" conf_files="/etc/varnish/default.vcl" systemd_services="varnish.service on" +make_dirs="/var/varnish 750 nobody nogroup" post_install() { # systemd reload helper