Skip to content

Commit

Permalink
Fix search pattern
Browse files Browse the repository at this point in the history
As it looks in fact something like e.g.:
'resources-alma-fix-20240608-1542'
  • Loading branch information
dr0i committed Jun 11, 2024
1 parent ee8286a commit da1d509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/monit_restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ case $ACTION in
sbt clean
sbt --java-home $JAVA_HOME stage
./target/universal/stage/bin/lobid-resources-web -Dhttp.port=$PORT -no-version-check > monit_start.log &
if [ -n "$DO_ETL_UPDATE" -a $(tail -n100 logs/etl.log |grep -c "Finishing indexing of ES index 'resources-alma-fix'") -eq 0 ]; then
if [ -n "$DO_ETL_UPDATE" -a $(tail -n100 logs/etl.log |grep -c "Finishing indexing of ES index 'resources-alma-fix") -eq 0 ]; then
echo "Automatical updates-ETL triggered and last entries were not ok, thus starting ETL. Sleep 100s before starting ETL ..." >> monit_start.log
sleep 100
curl http://localhost:$PORT/resources/webhook/update-alma?token=$ETL_TOKEN
Expand Down

0 comments on commit da1d509

Please sign in to comment.