aboutsummaryrefslogtreecommitdiffstats
path: root/community/znc/znc.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-07-18 08:02:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-18 08:05:06 +0000
commitab17ebc5ee95aaf5dd80dcd83e9ad004434ce475 (patch)
tree83fe86f9c17c1ea45d072f7c24a8c2b3496459c0 /community/znc/znc.pre-install
parent632ac8c24a84ce04b05d979594931855364cad45 (diff)
downloadaports-ab17ebc5ee95aaf5dd80dcd83e9ad004434ce475.tar.bz2
aports-ab17ebc5ee95aaf5dd80dcd83e9ad004434ce475.tar.xz
main/znc: move to community
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