WildFly Startup Wrapper EAP 7.0
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 set by the unit file # JBOSS_USER set by the unit file # JBOSS_MODE set by the unit file 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; }