Skip to content

Commit

Permalink
#49 Use exec to run Java
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzy78 authored and Erikvl87 committed Dec 7, 2023
1 parent 41dab08 commit 16b491e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ fi
Xms=${Java_Xms:-256m}
Xmx=${Java_Xmx:-512m}

set -x
java -Xms$Xms -Xmx$Xmx -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8010 --public --allow-origin '*' --config config.properties
exec java -Xms$Xms -Xmx$Xmx -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8010 --public --allow-origin '*' --config config.properties

0 comments on commit 16b491e

Please sign in to comment.