aboutsummaryrefslogtreecommitdiffstats
path: root/community/knot-resolver/knot-resolver.pre-install
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-03-26 18:17:01 -0400
committerKevin Daudt <kdaudt@alpinelinux.org>2019-03-27 20:09:42 +0000
commit0eb70e35e08de8f72e34ebc5b45d8fe0fe8b947e (patch)
treed721d0a074c4da72a451e5b6a64a5ca9d7418f3c /community/knot-resolver/knot-resolver.pre-install
parente67e546684946711bb2248ae598fa622f3bcdddd (diff)
downloadaports-0eb70e35e08de8f72e34ebc5b45d8fe0fe8b947e.tar.bz2
aports-0eb70e35e08de8f72e34ebc5b45d8fe0fe8b947e.tar.xz
community/knot-resolver: move from testing
Diffstat (limited to 'community/knot-resolver/knot-resolver.pre-install')
-rw-r--r--community/knot-resolver/knot-resolver.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/knot-resolver/knot-resolver.pre-install b/community/knot-resolver/knot-resolver.pre-install
new file mode 100644
index 0000000000..638c4c7310
--- /dev/null
+++ b/community/knot-resolver/knot-resolver.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S kresd 2>/dev/null
+adduser -S -D -H -h /var/lib/knot-resolver -s /sbin/nologin -G kresd -g kresd kresd 2>/dev/null
+
+exit 0