After closing the Linux terminal process will kill or terminated by your shell.
To avoid this scenario use below steps.
1:First create run.sh file on /home/wildfly-10.1.0.Final/bin/ folder.
2:write below code in run.sh file
nohup ./standalone&
To avoid this scenario use below steps.
1:First create run.sh file on /home/wildfly-10.1.0.Final/bin/ folder.
2:write below code in run.sh file
nohup ./standalone&
where
- ./standalone : is name of shell script or command name. You can pass argument to command or a shell script.
- & : nohup does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line with an & symbol.
and save the file
3: set below java path in standalone.bat file and save the file
set "JAVA=%JAVA_HOME%\bin\javaw"
4:for wildfly server start up fire below command from Linux terminal
>./run.sh
let me know if you find any correction or suggestion