mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-15 09:42:38 -05:00
Always get the latest PIDs to check
This commit is contained in:
@@ -94,6 +94,7 @@ function start_aws_logs_agent {
|
||||
|
||||
function run {
|
||||
while true; do
|
||||
get_celery_pids
|
||||
for APP_PID in ${APP_PIDS}; do
|
||||
kill -0 ${APP_PID} 2&>/dev/null || return 1
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user