aboutsummaryrefslogtreecommitdiffstats
path: root/testing/knot/knot.pre-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-10-21 16:36:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-10-21 16:37:53 +0000
commit14d076e01af0e1590f9e0217c910f850feb8e94d (patch)
tree61e66ce65087c0a4e946ffe2f6b5a902ca4c36b8 /testing/knot/knot.pre-install
parentdf71701915a74ca7d02c942a27892e0072c84ac8 (diff)
downloadaports-14d076e01af0e1590f9e0217c910f850feb8e94d.tar.bz2
aports-14d076e01af0e1590f9e0217c910f850feb8e94d.tar.xz
testing/knot: fixed exec permission on init, added knot user and group
Diffstat (limited to 'testing/knot/knot.pre-install')
-rw-r--r--testing/knot/knot.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/knot/knot.pre-install b/testing/knot/knot.pre-install
new file mode 100644
index 0000000000..bc93e098ec
--- /dev/null
+++ b/testing/knot/knot.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+adduser -H -s /sbin/nologin -S -D knot -G knot 2>/dev/null
+exit 0