JBoss Community

Re: Init script of jboss 4.2.3 GA - jdk6 for Debian 7

created by jaikiran pai in Beginner's Corner - View the full discussion

Mikel, welcome to the forums!

 

Does this work:

 

...
JBOSS_BIND_ADDR=-b 192.168.1.205
... 
EXEC=${JBOSS_HOME}/bin/run.sh ${JBOSS_BIND_ADDR}
... 
do_start(){    
        start-stop-daemon --start --chuid jboss --user jboss --name jboss  --exec ${EXEC}
    }

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community