Linux - Adding rhq agent during system boot, Running rhq agent as a Daemon or init.d Service

Adding rhq agent during system boot


Normally the agent should be started as a background daemon process. On Windows, this runs as a service. On Linux and Unix

systems, the agent starts at boot time from init.d


Register rhq-agent-wrapper.sh with chkconfig.
 # /sbin/chkconfig --add rhq-agent-wrapper.sh

Enable the agent service to run at boot time and have it stop gracefully at when the system shuts down.
 # /sbin/chkconfig rhq-agent-wrapper.sh on

If the agent service should not be started when the system boots, turn the script off in chkconfig:
 # /sbin/chkconfig rhq-agent-wrapper.sh off

The topic on Linux - Adding rhq agent during system boot is posted by - Maha

Hope you have enjoyed, Linux - Adding rhq agent during system bootThanks for your time

Tech Bluff