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