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
tty.
-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
#!/bin/sh
exec tac_plus -G -L -C /etc/tacacs+/tac_plus.conf -B 192.168.1.100 -l
/var/log/tacacs.log -p 4900
$ cat /etc/service/tac_plus/log/run
#!/bin/sh
exec svlogd -ttt /var/log/tacacs
It does start without error. I need run 13 instances with different IP/PORT
combo
to read different tac_plus configs
Thanks for your help
al
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