-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi Pascal,
thanks for your feedback.
Pascal Stumpf:
Multi-instance support isn't something that's provided by OpenBSD's rc.d(8) subsystem, and I doubt it ever will be. Too much complexity for something that's more of a crutch to work around few applications' limitations than something universally needed and useful.
Ok, my take away here is that I won't be able to get any multi-instance support into OpenBSD's tor rc.d script.
So I guess the next best option for ansible-relayor will indeed be to configure multiple services and copy the rc.d script of your package once per tor instance tor0,tor1,... plus one line per tor instance in /etc/rc.conf.local as described previously here:
https://lists.torproject.org/pipermail/tor-relays/2015-March/006526.html
Btw, aren't there locking problems with the files in DataDirectory? Or does every single tor instance need its own? And the ControlPort? One for each instance? How do you distinguish tor instances when doing syslog logging?
ansible-relayor takes care of this and generates torrc files accordingly (separate datadir, separate logfiles, ...).
regards, Nusenu
tor-relays@lists.torproject.org