5 Jan
2012
5 Jan
'12
10:14 p.m.
[xymonnet2] ENVFILE /usr/lib64/xymon/server/etc/xymonserver.cfg NEEDS xymond CMD XYMONNETWORK=IAD xymonnet --report --ping --checkresponse
Not quite right, because the CMD setting doesn't permit you to set environment variables that way (the command isn't passed to a shell, but executed directly).
For the record, Larry Barber pointed out to me that I was wrong - you *can* use a syntax like this to set environment variables in the CMD line.
(I wrote the code, but that doesn't mean I know what it does - OK ?)
Regards, Henrik