Skip to content

Commit

Permalink
Fix Java command in Linux / macOS start scripts (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-traverse committed Sep 30, 2022
1 parent 291f0c3 commit 9940c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/scripts/service-ctrl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ run() {
CWD=`pwd`
cd "\${RUN_DIR}"
java \${JAVA_OPTS} \$APPLICATION_CLASS --config "\${CONFIG_FILE}" \$@
"\${JAVA_CMD}" \${JAVA_OPTS} \$APPLICATION_CLASS --config "\${CONFIG_FILE}" \$@
cd "\${CWD}"
}
Expand Down Expand Up @@ -215,7 +215,7 @@ start() {
CWD=`pwd`
cd "\${RUN_DIR}"
java \${JAVA_OPTS} \$APPLICATION_CLASS --config "\${CONFIG_FILE}" \$@ &
"\${JAVA_CMD}" \${JAVA_OPTS} \$APPLICATION_CLASS --config "\${CONFIG_FILE}" \$@ &
PID=\$!
cd "\${CWD}"
Expand Down

0 comments on commit 9940c28

Please sign in to comment.