summaryrefslogtreecommitdiff
path: root/network/tor/README
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2011-07-12 05:16:43 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:05 -0300
commitdbe994aba120a176479cc90a362c8253c602b422 (patch)
tree5cf2b0b04d31853cde2c8c3151c645248473e985 /network/tor/README
parent4973e0648d438e98c648f870fe6cf35faa48afa9 (diff)
downloadslackbuilds-dbe994aba120a176479cc90a362c8253c602b422.tar.gz
network/tor: Updated rc.tor to remove hardcoded values, other fixes.
See README.SLACKWARE for more info. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/tor/README')
-rw-r--r--network/tor/README16
1 files changed, 14 insertions, 2 deletions
diff --git a/network/tor/README b/network/tor/README
index 3ec67d2c87..ad36a3c0b5 100644
--- a/network/tor/README
+++ b/network/tor/README
@@ -13,6 +13,18 @@ The recommended UID/GID is 220. You can create these like so:
You can pass another user/group to the script; this is however, less safe:
TOR_USER=nobody TOR_GROUP=nogroup sh tor.SlackBuild
-See README.SLACKWARE for how to start tor on boot.
+The following can be used to start/stop tor automatically:
+/etc/rc.d/rc.local
+ if [ -x /etc/rc.d/rc.tor ]; then
+ /etc/rc.d/rc.tor start
+ fi
-Tor requires libevent.
+/etc/rc.d/rc.local_shutdown
+ if [ -x /etc/rc.d/rc.tor ]; then
+ /etc/rc.d/rc.tor stop
+ fi
+
+Tor requires libevent, while tsocks is an optional run-time dependency if you
+want to use the "torify" shell script.
+
+Take a look at README.SLACKWARE for important notes and recent changes.