Skip to content

Commit

Permalink
rename ingestor service
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 17, 2024
1 parent 2f750b8 commit df5cb5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/deploy-ingestor
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ echo "Deploy to server $REMOTE:$REMOTE_DIR"

sbt ";ingestor/stage;exit"
if [ $? != 0 ]; then
echo "Deploy canceled"
exit 1
echo "Deploy canceled"
exit 1
fi

RSYNC_OPTIONS=" \
Expand All @@ -33,6 +33,6 @@ echo "rsync complete"
read -n 1 -p "Press [Enter] to continue."

echo "Restart lila-search-ingestor"
ssh $REMOTE "chown -R lila-search-ingestor:lila-search-ingestor /home/lila-search-ingestor && systemctl restart lichess-search-ingestor"
ssh $REMOTE "chown -R lila-search-ingestor:lila-search-ingestor /home/lila-search-ingestor && systemctl restart lila-search-ingestor"

echo "Deploy complete"

0 comments on commit df5cb5b

Please sign in to comment.