Index: debian_installer/lams2-2.4.0/debian/lams2.init =================================================================== diff -u -rcd9d4ddf8390578b708c7962777f37f76e0a3193 -r4047e9fd6ee7cb6b359688b2ca04f37e1bac5bf9 --- debian_installer/lams2-2.4.0/debian/lams2.init (.../lams2.init) (revision cd9d4ddf8390578b708c7962777f37f76e0a3193) +++ debian_installer/lams2-2.4.0/debian/lams2.init (.../lams2.init) (revision 4047e9fd6ee7cb6b359688b2ca04f37e1bac5bf9) @@ -29,9 +29,10 @@ PIDFILE="/var/run/$NAME.pid" USER=lams GROUP=lams -JBOSS_OPTS= # Use this when using a non-default server configuration in jboss -#JBOSS_OPTS="-c " +#JBOSS_OPTS="-b 0.0.0 -c " +JBOSS_OPTS= -b 0.0.0.0 +# If you want to bind LAMS to an specific IP, change the 0.0.0.0 to the IP. test -x $JAVA || exit 0 @@ -67,7 +68,7 @@ DAEMON_OPTS="$JAVA_OPTS \ -Djava.endorsed.dirs=$JBOSS_ENDORSED_DIRS \ -classpath $JBOSS_CLASSPATH \ - org.jboss.Main -b 0.0.0.0 $JBOSS_OPTS" + org.jboss.Main $JBOSS_OPTS" start() { start-stop-daemon --start --quiet --background --make-pidfile \