mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 00:02:36 -05:00
20 lines
427 B
Bash
Executable File
20 lines
427 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -e "/etc/init/notifications-api.conf" ]
|
|
then
|
|
echo "Starting api"
|
|
sudo service notifications-api start
|
|
fi
|
|
|
|
if [ -e "/etc/init/notifications-api-celery-worker.conf" ]
|
|
then
|
|
echo "Starting celery worker"
|
|
sudo service notifications-api-celery-worker start
|
|
fi
|
|
|
|
if [ -e "/etc/init/notifications-api-celery-beat.conf" ]
|
|
then
|
|
echo "Starting celery beat"
|
|
sudo service notifications-api-celery-beat start
|
|
fi
|