
#
#RHQ_AGENT_CMDLINE_OPTS="--daemon --nonative --cleanconfig"
RHQ_AGENT_CMDLINE_OPTS="--daemon --cleanconfig"
# RHQ_AGENT_IN_BACKGROUND - If this is defined, the RHQ Agent JVM will
# be launched in the background (thus causing this
# script to exit immediately). If the value is
# something other than "nofile", it will be assumed
# to be a full file path which this script will
# create and will contain the agent VM's process
# pid value. If this is not defined, the VM is
# launched in foreground and this script blocks
# until the VM exits, at which time this
# script will also exit. NOTE: this should only
# be used by the rhq-agent-wrapper.sh script.
# If you want to launch the agent in the
# background, use that script to do so instead of
# setting this variable.
#
#RHQ_AGENT_IN_BACKGROUND=rhq-agent.pid
#=======================================================================
====
# THE FOLLOWING ARE USED SOLELY FOR THE rhq-agent-wrapper.sh SCRIPT
# RHQ_AGENT_PIDFILE_DIR - When rhq-agent-wrapper.sh is used to start
# the agent, it runs the process in background
# and writes its pid to a pidfile. The default
# location of this pidfile is in the agent's
# /bin directory. If you want to have the pidfile
# written to another location, set this environment
# variable. This value must be a full path to a
# directory with write permissions.
#
RHQ_AGENT_PIDFILE_DIR="/var/run"
# RHQ_AGENT_START_COMMAND - If defined, this is the command that will be
# executed to start the agent.
# Use this to customize how the agent process
# is started (e.g. with "su" or "sudo").
# This completely overrides the command used
# to start the agent - you must ensure you
# provide a valid command that starts the agent
# script 'rhq-agent.sh'
# Note that if this start command requires the
# user to enter a password, you can show a
# prompt to the user if you set the variable
# RHQ_AGENT_PASSWORD_PROMPT.
121
www.redhat.com
Komentáře k této Příručce