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

Re: [tor-relays] How to include files into torrc?



> On 10 Sep 2016, at 04:50, Ralph Seichter <tor-relays-ml@xxxxxxxxxxx> wrote:
> 
> On 09.09.16 20:37, tor-admin@xxxxxxxxxx wrote:
> 
>> There is a ticket that handles this feature:
>> https://trac.torproject.org/projects/tor/ticket/1922
> 
> Thank you for pointing me to the issue tracker, and thanks also to the
> other list members who replied. I was pretty certain that I was not the
> first person to ask for such a feature.
> 
> -Ralph

If you're trying to apply the same policies across a number of relays on the same box, --defaults-torrc FILE can be used to provide default settings, and then each torrc can contain only the unique settings.

But on some OSs / distributions (like Debian), the defaults torrc file is in /usr/share/tor, not /etc/tor.

So if you want to modify it permanently, you'll need to protect that file from your package manager (using something like dpkg-divert), or change the --defaults-torrc path in your service manager (and if you're on Debian, that file is in /lib/systemd/system, and so you'll need to do dpkg-divert on it).

Tim

Tim Wilson-Brown (teor)

teor2345 at gmail dot com
PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B
ricochet:ekmygaiu4rzgsk6n
xmpp: teor at torproject dot org






Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays