mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-22 08:58:57 -04:00
Start/Stop the new worker scripts on the code deploy actions.
This commit is contained in:
@@ -12,6 +12,18 @@ then
|
||||
sudo service notifications-api-celery-worker start
|
||||
fi
|
||||
|
||||
if [ -e "/etc/init/notifications-api-celery-worker-sender.conf" ]
|
||||
then
|
||||
echo "Starting celery worker"
|
||||
sudo service notifications-api-celery-worker-sender start
|
||||
fi
|
||||
|
||||
if [ -e "/etc/init/notifications-api-celery-worker-db.conf" ]
|
||||
then
|
||||
echo "Starting celery worker"
|
||||
sudo service notifications-api-celery-worker-db start
|
||||
fi
|
||||
|
||||
if [ -e "/etc/init/notifications-api-celery-beat.conf" ]
|
||||
then
|
||||
echo "Starting celery beat"
|
||||
|
||||
Reference in New Issue
Block a user