debian packages: systemd unit files (with multi-instance support)
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.