tac_plus with multi thread

From: Asif Iqbal <vadud3_at_gmail.com>
Date: Tue, 8 Apr 2014 17:59:57 -0400

Hi All,

Can runit supervise multithreaded appliacation like tac_plus?

tac_plus: https://github.com/mkouhei/tacacs-plus

man tac_plus

-G Remain in the foreground, but not single-threaded nor logging to the

-g Single threaded mode. The daemon will only accept and service a
single connection
        at a time without forking and without closing file descriptors.
 All log messages appear
        on standard output.

        This is intended only for debugging and not for normal service.

        This option does not work with single-connection sessions.

Currently I am testing like below

$ cat /etc/service/tac_plus/run
exec tac_plus -G -L -C /etc/tacacs+/tac_plus.conf -B -l
/var/log/tacacs.log -p 4900

$ cat /etc/service/tac_plus/log/run
exec svlogd -ttt /var/log/tacacs

It does start without error. I need run 13 instances with different IP/PORT
to read different tac_plus configs

Thanks for your help
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Received on Tue Apr 08 2014 - 21:59:57 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC