Skip to content

Commit

Permalink
debug st2ctl saying that st2 components aren't running
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Dec 12, 2024
1 parent f29dfc0 commit c2dff76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions st2common/bin/st2ctl
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ function getpids() {
echo "##### st2 components status #####"
COMPONENTS=${COMPONENTS}

set -x
for COM in ${COMPONENTS}; do
PID=`ps ax | grep -v grep | grep -v st2ctl | grep -E "(${COM}\.wsgi)|(bin/${COM})|(hubot .*${COM})" | awk '{print $1}'`

Expand All @@ -211,6 +212,7 @@ function getpids() {
echo "${COM} is not running."
fi
done
set +x
}


Expand Down

0 comments on commit c2dff76

Please sign in to comment.