[OpenSIPS-Users] opensips HA resource script (for Heartbeat)

Iñaki Baz Castillo ibc at aliax.net
Tue Dec 28 03:28:52 CET 2010


2010/12/28 Duane Larson <duane.larson at gmail.com>:
> So if OpenSIPS always returns 0 how are people making it redundant?

A very dirty hack is invoking the "monitor" / "status" action of the
script N seconds after the "start" action, and makes the script to
return the exit code of the "monitor" / "status" action. But it's
really a dirty hack. A daemonized process should not exit with 0 if
finally it fails to start.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Users mailing list