treeherder/bin/run_celery_worker_hp

14 строки
298 B
Bash
Executable File

#!/usr/bin/env bash
# Make non-zero exit codes & other errors fatal.
set -euo pipefail
SRC_DIR=$(dirname "$(dirname "${BASH_SOURCE[0]}")")
cd "$SRC_DIR"
source vagrant/env.sh
exec newrelic-admin run-program celery -A treeherder worker -c 1 \
-Q publish_to_pulse -E \
-l INFO -n hp.%h