WildFly Startup Wrapper EAP 7.0

From NovaOrdis Knowledge Base
Revision as of 23:22, 13 March 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

Add at the top of the file (the code that creates the log directory is still necessary, because the default code in the script creates it with wrong permissions):

JBOSS_HOME=/opt/jboss/
JBOSS_USER=eap
JBOSS_MODE=domain
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; }