6 Replies Latest reply on Nov 7, 2014 5:03 AM by Rituraj Sinha

    How to run WildFly in the background in Linux?

    shinzey shinzey Newbie

      I'm working on a remote Linux system using ssh and trying to figure out the way to run WildFly in the background.

       

      If I run standalone.sh directly, WildFly will be automatically killed if my ssh session is logged out.

       

      I tried setsid but without success. The server seems to run in the background:

      [root@abc ~]# ps -ef | grep standalone
      root      3996     1  0 01:43 ?        00:00:00 /bin/sh ./standalone.sh
      root      4031  3996 20 01:43 ?        00:00:10 /root/jre/bin/java -D[Standalone] -server -Xms64m -Xmx512m ...

      but when I logged out, the process is still killed.

       

      Any idea about this?