summaryrefslogtreecommitdiff
path: root/repo/tor/tor.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'repo/tor/tor.pre-install')
-rw-r--r--repo/tor/tor.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/tor/tor.pre-install b/repo/tor/tor.pre-install
new file mode 100644
index 0000000..cdeb7b4
--- /dev/null
+++ b/repo/tor/tor.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+adduser -S -D -H -h /var/lib/tor -s /sbin/nologin -g tor tor 2>/dev/null
+
+exit 0