Dominik Klein wrote:
> I wrote my own little RA to start a custom binary. Very basic RA up to now.
> 
> I start my binary with
> nohup $binfile $cmdline_options >> $logfile 2>> $errorlogfile &
> 
> Works ok actually, the logfiles are filled as expected, but I also see
> some of the output in the Linux-HA log (/var/log/messages).
> 
> ---
> lrmd: [2618]: info: RA output: xxxxxxxxxxxxxxxxxxxx
> ---
> 
> How to avoid this?

yes: make sure your RA doesn't output anything ;) (at least nothing
important). assuming bash:

exec 1>/dev/null

You could do same with stderr, but you probably don't want to do that.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to