This content has been marked as final.
Show 3 replies
-
1. Re: [JON 2.0.1] Run agent in background ?
pilhuhn Aug 20, 2008 11:49 AM (in response to skr3dii)Hi,
just use the provided wrapper scripts for this. They are also in the bin directory.
See also https://docs.jbosson.redhat.com/confluence/display/JON2/06.+JON+Agent#06.JONAgent-RunningtheJONAgent -
2. Re: [JON 2.0.1] Run agent in background ?
ccrouch Aug 20, 2008 11:55 AM (in response to skr3dii)Take a look at rhq-agent-wrapper.sh
There is also some doco on running the agent from init.d
https://docs.jbosson.redhat.com/confluence/display/JON2/06.+JON+Agent#06.JONAgent-RunningWithinit.d
Thanks -
3. Re: [JON 2.0.1] Run agent in background ?
skr3dii Aug 20, 2008 12:02 PM (in response to skr3dii)Thank you guys, it works perfectly.
jboss@hn469:/appli/jon-agent-2.0.1.GA/bin> ./rhq-agent-wrapper.sh
Usage: ./rhq-agent-wrapper.sh { start | stop | status }
jboss@hn469:/appli/jon-agent-2.0.1.GA/bin> ./rhq-agent-wrapper.sh start
Starting RHQ Agent...
RHQ Agent (pid 4532) is running