aboutsummaryrefslogtreecommitdiffstats
path: root/main/unbound/unbound.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/unbound/unbound.pre-install')
-rw-r--r--main/unbound/unbound.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/unbound/unbound.pre-install b/main/unbound/unbound.pre-install
new file mode 100644
index 0000000000..015ba3c52f
--- /dev/null
+++ b/main/unbound/unbound.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S unbound 2>/dev/null
+adduser -S -s /bin/false -D -H -h /etc/unbound -G unbound \
+ -g "Unbound user" unbound 2>/dev/null
+exit 0