summaryrefslogtreecommitdiff
path: root/custom/totvs.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'custom/totvs.zsh')
-rw-r--r--custom/totvs.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/custom/totvs.zsh b/custom/totvs.zsh
index d1456bdc5..25945548a 100644
--- a/custom/totvs.zsh
+++ b/custom/totvs.zsh
@@ -69,9 +69,10 @@ ecmclean() {
# start jboss server
ecmstart() {
# why shall I start server if i just gen a installer?
- if [[ "$INSTALLER" == "y" ]]; then
+ if [[ "$INSTALLER" == "n" ]]; then
echo "starting jboss"
- JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=512m -DzkRun -Dbootstrap_conf=true" $ECM_JBOSS/bin/standalone.sh
+ cd $ECM_JBOSS/bin
+ JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=512m -DzkRun -Dbootstrap_conf=true" ./standalone.sh
fi
}