aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tlsrouter/tlsrouter.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tlsrouter/tlsrouter.pre-install')
-rw-r--r--testing/tlsrouter/tlsrouter.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tlsrouter/tlsrouter.pre-install b/testing/tlsrouter/tlsrouter.pre-install
new file mode 100644
index 0000000000..e8bec36487
--- /dev/null
+++ b/testing/tlsrouter/tlsrouter.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+addgroup -S tlsrouter 2>/dev/null
+adduser -S -D -h /var/lib/tlsrouter -s /sbin/nologin -G tlsrouter -g tlsrouter tlsrouter 2>/dev/null
+mkdir -p /etc/tlsrouter 2>/dev/null
+chown tlsrouter:tlsrouter /etc/tlsrouter 2>/dev/null
+
+exit 0