4 Replies Latest reply on Mar 22, 2011 9:51 AM by Thomas Chang

    How to write a script to get off the console after calling /run.sh?

    Thomas Chang Apprentice

      Hi,

       

      When I start the Jboss using the Jboss script run.sh, the console can not be used anymore and you have to stop it by opening another console. So I am going to write a script which calls up the run.sh and then get off the console so that this console can be used.

       

      My script looks as follow:

       

      [code]

      #!/bin/bash

       

      $JBOSS_HOME/bin/run.sh

       

      exit

       

      [/code]

       

      But it doesn't get off. I am sure it's missing some code. Someone cann help?

       

      Regards

       

      Thomas