Skip to content

Commit

Permalink
Don't build , just kill
Browse files Browse the repository at this point in the history
Let the monit_restart.sh do the job so that there is no
race condition (both scripts may be executed at the same
time by monit).

Reverts 21b6e28 and
1fc9edc.
  • Loading branch information
dr0i committed Jun 11, 2024
1 parent d2f6b6c commit ee8286a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web/restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ REPO=$1
HOME="/home/sol"
PID_FILE="target/universal/stage/RUNNING_PID"

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/

cd $HOME/git/$REPO/
mvn clean install -DskipTests=true
cd $HOME/git/$REPO/web

if [ ! -f $PID_FILE ]; then
Expand Down

0 comments on commit ee8286a

Please sign in to comment.