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