summaryrefslogtreecommitdiff
path: root/community/tor/tor.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/tor/tor.install')
-rw-r--r--community/tor/tor.install7
1 files changed, 0 insertions, 7 deletions
diff --git a/community/tor/tor.install b/community/tor/tor.install
index 2c448d28e..beceb6070 100644
--- a/community/tor/tor.install
+++ b/community/tor/tor.install
@@ -1,9 +1,4 @@
post_install() {
- echo "-> Tor has been preconfigured to run as a client only."
- echo "-> Tor is experimental software. Do not rely on it for strong anonymity."
- echo '-> '
- echo '-> You can set custom file descriptor ulimits for Tor in'
- echo '-> "/etc/conf.d/tor" using the "TOR_MAX_FD" variable.'
groupadd -g 43 tor &>/dev/null
useradd -u 43 -g tor -d /var/lib/tor -s /bin/false tor &> /dev/null
chown tor:tor var/lib/tor &> /dev/null
@@ -11,8 +6,6 @@ post_install() {
}
post_upgrade() {
- echo '-> You can now set custom file descriptor ulimits for Tor in'
- echo '-> "/etc/conf.d/tor" using the "TOR_MAX_FD" variable.'
getent group tor &>/dev/null || groupadd -g 43 tor &>/dev/null
getent passwd tor &>/dev/null || useradd -u 43 -g tor -d /var/lib/tor -s /bin/false tor &> /dev/null
chown tor:tor var/lib/tor &> /dev/null