still running after JVM started

Posted on

EAP 7.4.4 on RHEL 8; we define the script as ExecStart,Stop and Reload in our systemctl service file. We also define environment variables in the systemctl service file. One of these variables is LAUNCH_JBOSS_IN_BACKGROUND=1. After our JVM is started the process is still running. Why does this process not end once the JVM is running?

jboss 41581 1 0 13:38 ? 00:00:00 /bin/sh /usr/share/jboss-as/bin/ -c standalone.xml -Djboss.server.base.dir=/usr/share/jboss-as/appname_standalone