Files
notifications-api/scripts/aws_start_app.sh

21 lines
427 B
Bash
Raw Normal View History

2016-09-20 11:49:01 +01:00
#!/usr/bin/env bash
2016-09-20 11:49:01 +01:00
set -eo pipefail
2016-09-20 11:49:01 +01:00
function start
{
service=$1
if [ -e "/etc/init/${service}.conf" ]
then
echo "Starting ${service}"
service ${service} start
fi
}
2016-09-20 11:49:01 +01:00
start "notifications-api"
start "notifications-api-celery-worker"
start "notifications-api-celery-worker-sender"
2016-09-30 11:23:54 +01:00
start "notifications-api-celery-worker-research"
2016-09-20 11:49:01 +01:00
start "notifications-api-celery-worker-db"
start "notifications-api-celery-beat"