File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ HOME="/home/sol"
2525
2626# it is important to set the proper locale
2727. $HOME /.locale
28+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
2829JAVA_OPTS=$( echo " $JAVA_OPTS " | sed ' s#,#\ #g' )
2930
3031cd $HOME /git/$REPO
@@ -34,7 +35,9 @@ case $ACTION in
3435 kill $( cat target/universal/stage/RUNNING_PID)
3536 rm target/universal/stage/RUNNING_PID
3637 fi
37- JAVA_OPTS=" $JAVA_OPTS -XX:+ExitOnOutOfMemoryError" $HOME /activator-dist-1.3.5/activator " start $PORT "
38+ sbt clean
39+ sbt --java-home $JAVA_HOME stage
40+ JAVA_OPTS=" $JAVA_OPTS -XX:+ExitOnOutOfMemoryError" ./target/universal/stage/bin/nwbib -Dhttp.port=$PORT -no-version-check > monit_start.log &
3841 ;;
3942 stop)
4043 kill $( cat target/universal/stage/RUNNING_PID)
You can’t perform that action at this time.
0 commit comments