[tor-bugs] #1922 [Tor]: torrc.d-style configuration directories
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Oct 1 17:05:16 UTC 2015
#1922: torrc.d-style configuration directories
-----------------------------+--------------------------------
Reporter: aa138346 | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-client
Actual Points: | Parent ID:
Points: medium | Sponsor:
-----------------------------+--------------------------------
Comment (by eighthave):
Weasel and I (aka Hans) sketched out how we would use it in the Debian
package, closely following the Apache pattern but with naming that is more
appropriate in Tor:
/etc/tor/torrc::
%include /etc/tor/services-enabled/*.torrc
%include /etc/tor/instances-enabled/*.torrc
These dirs are present for the actual snippet files:
/etc/tor/services-available
/etc/tor/instances-available
These dirs include relative symlinks to *-available:
/etc/tor/services-enabled
/etc/tor/instances-enabled
For example:
/etc/tor/services-enabled/sparkleshare.torrc --> ../services-
available/sparkleshare.torrc
The sparkleshare package would include:
/etc/tor/services-available/sparkleshare.torrc
The davical package would include:
/etc/tor/services-available/davical.torrc
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1922#comment:55>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list