WildFly Startup Wrapper EAP 6.4.0

From NovaOrdis Knowledge Base
Revision as of 23:02, 13 March 2017 by Ovidiu (talk | contribs) (Created page with "Add at the top of the file: <pre> JBOSS_HOME=/home/eap/EAP-6.4.0 JBOSS_USER=eap # # The amount of time to wait for startup # STARTUP_WAIT=30 # # The amount of time to wait fo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add at the top of the file:

JBOSS_HOME=/home/eap/EAP-6.4.0
JBOSS_USER=eap
#
# The amount of time to wait for startup
#
STARTUP_WAIT=30
#
# The amount of time to wait for shutdown
#
SHUTDOWN_WAIT=30
#
# Location to keep the console log
#
JBOSS_CONSOLE_LOG=${JBOSS_HOME}/domain/log/console.log
[ ! -d ${JBOSS_HOME}/domain/log ] && { mkdir -p ${JBOSS_HOME}/domain/log; chown ${JBOSS_USER} ${JBOSS_HOME}/domain/log; chmod a+rx ${JBOSS_HOME}/domain/log; }