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.conf
there, according to your specifications, further information is requiredLocation of JDK -:
JAVA_HOME=/opt/java/oracle/jdk-17
Location of WildFly -:
JBOSS_HOME=/opt/wildfly
The username who should own the process -:
JBOSS_USER=wildfly
The configuration you want to run -:
WILDFLY_CONFIG=standalone.xml
The mode you want to run -:
WILDFLY_MODE=standalone
I faced the same problem as you. Only after I added the relevant information does everything run smoothly