Skip to content

Commit 89deee2

Browse files
committed
Just sbt start, no clean and stage
1 parent c10648b commit 89deee2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

monit_restart.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ case $ACTION in
3535
kill $(cat target/universal/stage/RUNNING_PID)
3636
rm target/universal/stage/RUNNING_PID
3737
fi
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 &
38+
JAVA_OPTS="$JAVA_OPTS -XX:+ExitOnOutOfMemoryError" sbt --java-home $JAVA_HOME "start $PORT"
4139
;;
4240
stop)
4341
kill $(cat target/universal/stage/RUNNING_PID)

0 commit comments

Comments
 (0)