Skip to content

Commit

Permalink
Merge pull request #9866 from amaltaro/restart-todor
Browse files Browse the repository at this point in the history
Notify Todor upon component automatic restarts
  • Loading branch information
amaltaro authored Aug 12, 2020
2 parents b5dc80a + 51dcdeb commit cdd4c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/restartComponent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for comp in $COMPONENTS; do
TAIL_LOG=`tail -n100 $COMPLOG`
/data/srv/wmagent/current/config/wmagent/manage execute-agent wmcoreD --restart --components=$comp
echo -e "ComponentLog quiet for $INTERVAL secs\n\nTail of the log is:\n$TAIL_LOG" |
mail -s "$HOST : $comp restarted" [email protected]
mail -s "$HOST : $comp restarted" [email protected],[email protected]
fi
done

0 comments on commit cdd4c7c

Please sign in to comment.