From: Olivier Poitrey (olivier_at_pas-tres.net)
Date: Sun 29 Aug 2004 - 12:47:51 BST
Emmanuel Lacour <elacour_at_home-dn.net> writes:
> I saw this too and had to make a small wrapper.
>
> vserver $server status | head -1 | sed 's/^.*not\
> running.*$/stopped/g;s/^.*running.*$/running/g'
>
> heartbeat likes "running" and "stopped".
I guess you can use the return code of 'vserver $vserver running' to
do that.
-- ______________________________________________________________________ O l i v i e r P o i t r e y _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver