WildFly Startup Wrapper EAP 6.4.0: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:


<pre>
<pre>
JBOSS_HOME=/home/eap/EAP-6.4.0
# JBOSS_HOME set in the unit file
JBOSS_USER=eap
# JBOSS_USER set in the unit file
#
#
# The amount of time to wait for startup
# The amount of time to wait for startup

Latest revision as of 14:01, 14 March 2017

Internal

Overview

Add at the top of the file:

# JBOSS_HOME set in the unit file
# JBOSS_USER set in the unit file
#
# 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; }