aboutsummaryrefslogtreecommitdiffstats
path: root/community/znc/znc.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/znc/znc.pre-install')
-rw-r--r--community/znc/znc.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/znc/znc.pre-install b/community/znc/znc.pre-install
new file mode 100644
index 0000000000..e65de696b3
--- /dev/null
+++ b/community/znc/znc.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S znc 2>/dev/null
+adduser -S -D -H -h /var/lib/znc -s /sbin/nologin -G znc -g znc znc 2>/dev/null
+
+exit 0