init script for SuSE or similiar?

Roger Dingledine arma at mit.edu
Mon Aug 9 05:53:18 UTC 2004


On Sun, Aug 08, 2004 at 08:00:03PM +0200, Eugen Leitl wrote:
> > Have you looked at the file generated as "contrib/tor.sh" in the Tor
> > distribution?  It may be what you want.
> 
> Thanks, after creating the directories for log and pid it does the trick.
> 
> /usr/local/var/log/tor/ and /usr/local/var/run/tor if anyone needs the paths.
> It would be nice if tor would shed privileges on start, but it's still in
> development.

contrib/tor.sh supports this: the "TORUSER" and "TORGROUP" variables
can be defined to instruct tor to chown and chgrp to them respectively.

> It would be nice if this script would be mentioned in the INSTALL file.

Good point. I've mentioned it in the README file and in tor-doc.html.

Thanks,
--Roger



More information about the tor-dev mailing list