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

[tor-bugs] #14995 [Tor bundles/installation]: debian packages: add support for multiple tor instances to init.d start script



#14995: debian packages: add support for multiple tor instances to init.d start
script
--------------------------------------+-----------------------
 Reporter:  cypherpunks               |          Owner:  erinn
     Type:  enhancement               |         Status:  new
 Priority:  normal                    |      Milestone:
Component:  Tor bundles/installation  |        Version:
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
--------------------------------------+-----------------------
 Basically every relay operator who wants to make use of available system
 ressources (CPU, RAM, bandwidth) has to run multiple tor instances on a
 single host, but the current init script does not include such a feature
 and everyone who needs it has to hack something togheter on their own.

 This ticket is about modifying/extending /etc/init.d/tor (shipped with
 your debian packages) to allow for easy multi-tor instance handling.

 The idea is to introduce an new boolean "MULTI_INSTANCE" in
 /etc/default/tor

 If MULTI_INSTANCE is set to "yes" the init script would start a tor
 instance per every available
 *.torrc file in /etc/tor, in all other cases proceed as usual (current
 behaviour).
 This allows for an easy and transparent transitioning.

 If this is acceptable to you I would go ahead and implement it based on
 this script that is currently used by torservers:
 https://gist.github.com/7adietri/9122199
 https://www.torservers.net/wiki/setup/server#multiple_tor_processes

 but doesn't include the opt-in (MULTI_INSTANCE boolean) yet.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14995>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs