I want to install and configure JBoss WildFly 26.0.0.Final as a systemd/init.d service in my Linux VM (CentOS 8) with different user - not with the default wildfly user.
I have gone through the steps in many of the How-To-Dos and also on the official site. But would like to know what changes regarding the user, I need to make for such configuration.
Some of the links I have gone through do not specify the changes to be made. Installing on CentOS 7
Please look in the etc directory for the wildfly folder. there is a
wildfly.confthere, according to your specifications, further information is requiredLocation of JDK -:
JAVA_HOME=/opt/java/oracle/jdk-17Location of WildFly -:
JBOSS_HOME=/opt/wildflyThe username who should own the process -:
JBOSS_USER=wildflyThe configuration you want to run -:
WILDFLY_CONFIG=standalone.xmlThe mode you want to run -:
WILDFLY_MODE=standaloneI faced the same problem as you. Only after I added the relevant information does everything run smoothly