list,

i am in the process of building a HA vpn cluster with gentoo, linux-ha, and 
openvpn.  i have been
perusing the resource agent requirements for LSB (linux standard's base) init 
style scripts (located
here http://www.linux-ha.org/LSBResourceAgent) and i noticed that the "Status 
stopped" exit code was
to be "3" and the gentoo init script exits with "1" .

what is the best way to "fix" this issue so my resource agent complies.



...snip from output

roxetta init.d #  ./openvpn_69-3000 start; echo $?
 * Starting openvpn_69-3000 ...
    [ ok ]
0
roxetta init.d #  ./openvpn_69-3000 stop; echo $?
 * Stopping openvpn_69-3000 ...
    [ ok ]
0
roxetta init.d #  ./openvpn_69-3000 status; echo $?
 * status:  stopped
1

...end snip



best regards,


_Terry


-- 
gentoo-cluster@gentoo.org mailing list

Reply via email to