diff --git a/docker/entrypoint_prod.sh b/docker/entrypoint_prod.sh index 0e0f557b006..3ef262745ca 100755 --- a/docker/entrypoint_prod.sh +++ b/docker/entrypoint_prod.sh @@ -61,6 +61,11 @@ elif [ "$1" == "worker_misc" ]; then export REMAP_SIGTERM=SIGQUIT exec newrelic-admin run-program celery -A treeherder worker --without-gossip --without-mingle --without-heartbeat -Q default,generate_perf_alerts,pushlog,statsd --concurrency=3 +# Handles performance alert generation +elif [ "$1" == "worker_perf_alert" ]; then + export REMAP_SIGTERM=SIGQUIT + exec newrelic-admin run-program celery -A treeherder worker --without-gossip --without-mingle --without-heartbeat -Q generate_perf_alerts --concurrency=3 + # Cron jobs elif [ "$1" == "run_intermittents_commenter" ]; then newrelic-admin run-program ./manage.py run_intermittents_commenter -m auto