network/tor: Update README.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-01-11 20:56:41 +07:00
parent 27a4bd21fc
commit 7891ef329d
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -14,12 +14,12 @@ You can pass another user/group to the script; this is however, less safe:
TOR_USER=nobody TOR_GROUP=nogroup sh tor.SlackBuild
The following can be used to start/stop tor automatically:
/etc/rc.d/rc.local
In file /etc/rc.d/rc.local, add following
if [ -x /etc/rc.d/rc.tor ]; then
/etc/rc.d/rc.tor start
fi
/etc/rc.d/rc.local_shutdown
In /etc/rc.d/rc.local_shutdown, add following
if [ -x /etc/rc.d/rc.tor ]; then
/etc/rc.d/rc.tor stop
fi