summaryrefslogtreecommitdiff
path: root/contrib/torctl.in
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-11-10 15:40:15 +0000
committerRoger Dingledine <arma@torproject.org>2008-11-10 15:40:15 +0000
commit00e3d7b4a91092c75a7ea1d032a331be470c1432 (patch)
treed55de218d0815d13b0573e5af57596c7ea7a8135 /contrib/torctl.in
parentfea2bd4ac16d76fdc5cb3208d9041297c705fef7 (diff)
downloadtor-00e3d7b4a91092c75a7ea1d032a331be470c1432.tar.gz
tor-00e3d7b4a91092c75a7ea1d032a331be470c1432.zip
remove all trace from the various contrib/ scripts that tor used
to have a 'group' option. svn:r17236
Diffstat (limited to 'contrib/torctl.in')
-rw-r--r--contrib/torctl.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/torctl.in b/contrib/torctl.in
index 4136bd9434..4cc137da46 100644
--- a/contrib/torctl.in
+++ b/contrib/torctl.in
@@ -41,22 +41,18 @@ TORDATA="@LOCALSTATEDIR@/lib/tor"
TORARGS="--pidfile $PIDFILE --log \"notice file $LOGFILE\" --runasdaemon 1"
TORARGS="$TORARGS --datadirectory $TORDATA"
-# If user and group names are set in the environment, then use them;
+# If user name is set in the environment, then use it;
# otherwise run as the invoking user (or whatever user the config
# file says)... unless the invoking user is root. The idea here is to
# let an unprivileged user run tor for her own use using this script,
# while still providing for it to be used as a system daemon.
if [ "x`id -u`" = "x0" ]; then
TORUSER=@TORUSER@
- TORGROUP=@TORGROUP@
fi
if [ "x$TORUSER" != "x" ]; then
TORARGS="$TORARGS --user $TORUSER"
fi
-if [ "x$TORGROUP" != "x" ]; then
- TORARGS="$TORARGS --group $TORGROUP"
-fi
# We no longer wrap the Tor daemon startup in an su when running as
# root, because it's too painful to make the use of su portable.