Skip to content

Commit d7d693f

Browse files
committed
Just sbt start, no clean and stage
1 parent f952873 commit d7d693f

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
@@ -34,9 +34,7 @@ case $ACTION in
3434
if [ -f target/universal/stage/RUNNING_PID ]; then
3535
kill $(cat target/universal/stage/RUNNING_PID)
3636
fi
37-
sbt clean
38-
sbt --java-home $JAVA_HOME stage
39-
JAVA_OPTS="$JAVA_OPTS -XX:+ExitOnOutOfMemoryError" ./target/universal/stage/bin/lobid-gnd -Dhttp.port=$PORT -no-version-check > monit_start.log &
37+
JAVA_OPTS="$JAVA_OPTS -XX:+ExitOnOutOfMemoryError" sbt --java-home $JAVA_HOME "start $PORT"
4038
;;
4139
stop)
4240
if [ -f target/universal/stage/RUNNING_PID ]; then

0 commit comments

Comments
 (0)