Skip to content

Commit

Permalink
Squash #2041 - Log for APP_PIDS
Browse files Browse the repository at this point in the history
  • Loading branch information
MackHalliday committed Nov 19, 2024
1 parent b9dc635 commit 62d1fe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/check_celery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function get_celery_pids {

set +o pipefail # so grep returning no matches does not premature fail pipe
APP_PIDS=$(pstree -p `cat /tmp/celery.pid` | sed 's/\(.*\)-celery(\(\d*\))/\2/')
echo "Here are the APP_PIDS: ${APP_PIDS}"
set -o pipefail # pipefail should be set everywhere else
}

Expand Down

0 comments on commit 62d1fe9

Please sign in to comment.