aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/tor/preinstall
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-10-12 15:08:21 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-10-12 15:08:21 +0000
commitb5976536825a52b9913a39ca03e90cf8cbd85482 (patch)
tree335a63ac8b21491b3093ebbfc531e77f0f329682 /repos/extra/tor/preinstall
parent2327bf9f6637422f00073e4eccec7bd21cb9bc1f (diff)
downloadalicelinux-b5976536825a52b9913a39ca03e90cf8cbd85482.tar.gz
alicelinux-b5976536825a52b9913a39ca03e90cf8cbd85482.zip
tor: new added
Diffstat (limited to 'repos/extra/tor/preinstall')
-rwxr-xr-xrepos/extra/tor/preinstall4
1 files changed, 4 insertions, 0 deletions
diff --git a/repos/extra/tor/preinstall b/repos/extra/tor/preinstall
new file mode 100755
index 00000000..2457d9af
--- /dev/null
+++ b/repos/extra/tor/preinstall
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+addgroup -S tor 2>/dev/null
+adduser -S -D -H -h /var/lib/tor -s /sbin/nologin -g tor -G tor tor 2>/dev/null