[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: init script for SuSE or similiar?



On Sun, 08 Aug 2004, Eugen Leitl wrote:

> On Sun, Aug 08, 2004 at 01:38:21PM -0400, Nick Mathewson wrote:
> 
> > > Does anyone have a minimal init script (not chroot) for tor on Linux?
> > > http://www.freehaven.net/tor/cvs/debian/tor.init is too Debian-centric to be
> > > of much use for SuSE. If it requires creating special users and/or groups, no
> > > problem.
> > 
> > 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.
> 
> It would be nice if this script would be mentioned in the INSTALL file.

Create a user, and set 'user <username>' in your config file.  It's
documented in the manpage.

-- 
Peter