Alan Robertson wrote:
Carson Gaspar wrote:
Xinwei Hu wrote:

  The known issue is that I don't know how to daemonize in bash,
so the pingd RA needs a little tweak also.
You can't daemonize in bash, unless your OS comes with some executable
that daemonizes arbitrary programs (I think some flavours of Linux do).

Actually, there isn't that much to daemonizing things.  A little I/O
redirection, a little signal handling and a little process group
manipulation (not required for LRM RAs).

It's actually rather complicated to properly daemonize a program (there a several persnickety steps to avoid a tty you open becoming your controlling tty). Of course hertbeat's requirements may be lesser.

--
Carson
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to