On 08/04/2014 22:59, Asif Iqbal wrote:
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.

 Hi Asif,
 This is all a supervision framework needs. runsv will care of tac_plus -G
just fine.


-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.

 Ugh. Someone should definitely point the authors to:
 
http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/unix-daemon-design-mistakes-to-avoid.html

--
 Laurent

Reply via email to