mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-15 01:32:20 -05:00
21 lines
427 B
Bash
Executable File
21 lines
427 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eo pipefail
|
|
|
|
function start
|
|
{
|
|
service=$1
|
|
if [ -e "/etc/init/${service}.conf" ]
|
|
then
|
|
echo "Starting ${service}"
|
|
service ${service} start
|
|
fi
|
|
}
|
|
|
|
start "notifications-api"
|
|
start "notifications-api-celery-worker"
|
|
start "notifications-api-celery-worker-sender"
|
|
start "notifications-api-celery-worker-research"
|
|
start "notifications-api-celery-worker-db"
|
|
start "notifications-api-celery-beat"
|