[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by lge from
l.g.e at web.de
Fri Oct 1 10:13:13 MDT 2004
/ 2004-10-01 18:08:14 +0200
\ Lars Ellenberg:
> / 2004-10-01 09:42:25 -0600
> \ Alan Robertson:
> > linux-ha-cvs at lists.linux-ha.org wrote:
> > > add commented out "not running" branch to we_own_resource() in
> > > ResourceManager.in
> > > case `$spath $arg status` in
> > >+ # uncomment next line if you have misbehaving scripts,
> > >+ # and you don't want to fix each single one of them...
> > >+ # *not\ [Rr]unning*) return 3;;
> > > *[Rr]unning*|*OK*) return 0;;
> > > *) return 3;;
> > > esac
> > lge:
> > Why don't you just remove the commented out case above. It really ought to
> > work. But, maybe change it to [Nn]ot [Rr]unning.
> its been asked several times on the ml, and I thought a commented
> example in place might be reasonable.
> but I did not want to break behavior, could be very subtle,
> some service might be named "blubnot",
> and if it is running, there is
> "blubnot running" in the output :)
> who ever wants that should know.
[Nn]ot\ [Rr]unning*|\ [Nn]ot\ [Rr]unning*)
should do ?
More information about the Linux-HA-Dev