aboutsummaryrefslogtreecommitdiffstats
path: root/main/varnish/varnish.pre-install
diff options
context:
space:
mode:
authorV.Krishn <vkrishn4@gmail.com>2013-05-08 13:21:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-09 06:45:33 +0000
commit7fb51995c49d292b40a4cf2429cafec98ec72f55 (patch)
tree7957e695f6c0b4f0dbf7e51144518702ac21e5ba /main/varnish/varnish.pre-install
parent40f70f0e3529770eea2387974808398394548161 (diff)
downloadaports-7fb51995c49d292b40a4cf2429cafec98ec72f55.tar.bz2
aports-7fb51995c49d292b40a4cf2429cafec98ec72f55.tar.xz
Improved confd and add checkpath, build fixes
Diffstat (limited to 'main/varnish/varnish.pre-install')
-rw-r--r--main/varnish/varnish.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/varnish/varnish.pre-install b/main/varnish/varnish.pre-install
new file mode 100644
index 0000000000..0ce9831c29
--- /dev/null
+++ b/main/varnish/varnish.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup varnish 2>/dev/null
+adduser -S -H -h /var/lib/varnish -s /sbin/nologin -D -G varnish varnish 2>/dev/null
+exit 0