Start Tor as root.

Change the init script to start Tor as root so we can bind to low ports.


svn:r13686
This commit is contained in:
Peter Palfrader 2008-02-23 12:59:59 +00:00
parent c6a7ab729c
commit e25683fe3d
2 changed files with 3 additions and 2 deletions

4
debian/changelog vendored
View File

@ -13,8 +13,10 @@ tor (0.2.0.19-alpha+svn-1) unreleased; urgency=low
* If we run as root also apply debian defaults.
* Add User=debian-tor and Group=debian-tor to debian defaults. That allows
us to start Tor as root and have it setuid/setgid to the target user.
* Change the init script to start Tor as root. Now we should be able to
bind to low port.
-- Peter Palfrader <weasel@debian.org> Sat, 23 Feb 2008 13:44:56 +0100
-- Peter Palfrader <weasel@debian.org> Sat, 23 Feb 2008 13:50:14 +0100
tor (0.2.0.19-alpha-1) experimental; urgency=low

1
debian/tor.init vendored
View File

@ -116,7 +116,6 @@ case "$1" in
fi
start-stop-daemon --start --quiet --oknodo \
--chuid debian-tor:debian-tor \
--pidfile $TORPID \
$NICE \
--exec $DAEMON -- $ARGS