Skip to content

Commit

Permalink
Add back non running components to restartComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
todor-ivanov committed Dec 4, 2024
1 parent 0df84ad commit 654a4e6
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 @@ -13,7 +13,7 @@ DEST_NAME=cms-wmcore-team
[[ -z $WMA_INSTALL_DIR ]] && { echo "ERROR: Trying to run without having the full WMAgent environment set!"; exit 1 ;}

echo -e "\n###Checking agent logs at: $(date)"
compsRunning=$(manage execute-agent wmcoreD --status |grep -E "Running:[0-9]+" |awk '{print $1}' |awk -F \: '{print $2}')
compsRunning=$(manage execute-agent wmcoreD --status |awk '{print $1}' |awk -F \: '{print $2}')
for comp in $compsRunning; do
COMPLOG=$WMA_INSTALL_DIR/$comp/ComponentLog
if [ ! -f $COMPLOG ]; then
Expand Down

0 comments on commit 654a4e6

Please sign in to comment.