summaryrefslogtreecommitdiff
path: root/repo/unbound/unbound.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'repo/unbound/unbound.pre-install')
-rw-r--r--repo/unbound/unbound.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/repo/unbound/unbound.pre-install b/repo/unbound/unbound.pre-install
new file mode 100644
index 0000000..94144c7
--- /dev/null
+++ b/repo/unbound/unbound.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S unbound 2>/dev/null
+adduser -S -D -H -h /etc/unbound -s /sbin/nologin -G unbound \
+ -g "Unbound user" unbound 2>/dev/null
+
+exit 0