[tor-relays] multi tor instance support for startup scripts

Nusenu nusenu at openmailbox.org
Mon Mar 2 13:48:05 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> I just filed two tickets to add support for multiple tor instances
> to the official deb/rpm packages.
> 
> I think this is useful for many relay operators (so they don't have
> to replace the init scripts themselves anymore).
> 
> https://trac.torproject.org/projects/tor/ticket/14995

I attached a patch to the debian version of this enhancement request
[1] - it is based on [2].

If MULTI_INSTANCE == 'yes' - can be set in /etc/default/tor - we take
files from /etc/tor/enabled/*.torrc into account (thanks to federico3
for suggesting the 'enabled' subfolder).

If it is not set, the behaviour should not change at all for the user.

Feedback and review welcome.

[1]
https://trac.torproject.org/projects/tor/attachment/ticket/14995/tor.init.patch
[2] https://gist.github.com/7adietri/9122199
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJU9GoVAAoJEFv7XvVCELh0m58P/1AvIfhQzsQ0xyhAQYkgWw3K
/cRt6UFVS/57E9PLGU0orCE7GkzuS44fCOSU5pkuDzpzze9YYQxXARSsyFnep4AR
IDONm4exUZSK0sIimKG+SWNfV7pob46zolfiRWMBeCPa4Alav+OlKsVa9pDlUy82
SGS57oTGpQRmOpvI0A/gopdnFygcTawcJhI/p8ztQLcqymOtBEgWMLfDRgwdLjac
qKe4YUqveUdGOkcwaE8q6tGy9n/5Uvc1TscURqBJogzjHsCBPeNka18kmgmHk2Rx
YGvSvdZKKGk6GmMuMo37wff6/agoFSHjOrQpbAuu6dLbo8BevGD8Cm0ChfND41rg
PdV536is3Bds+2PLtdNOHke1MZ2OBjB+2csNuWsKQ5uOCzOnvgsCoyBusBf9K5Iy
eBS7CP/IV+azJsj/NCS7blmrN0ToqI3Y1JVRXPEbf8e08GNzdFQEqryYa0ScDmex
Iy3BxnGnYIOZxaWFOTcAoDoNh+5xprWvR+ojsnmmRC/hbywlPujrkSpD6xZjxF8L
toMeVkg63zJhzGI5rS05BDWy0i5+f+ZoR4xOjlP9NBzvfpq+y4KjFm7YvpdJa9Aj
SJ4fJgjdCuwUfXlh8EcBR0ccfOHISpppkU01urlwpxvK5prmVEIw51JheQh1kEZe
+QwPjjH0IXII3F2Ef1Xf
=A7ul
-----END PGP SIGNATURE-----


More information about the tor-relays mailing list