aboutsummaryrefslogtreecommitdiffstats
path: root/main/varnish/varnish.pre-install
diff options
context:
space:
mode:
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