зеркало из https://github.com/mozilla/treeherder.git
14 строки
349 B
Bash
Executable File
14 строки
349 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SRC_DIR=$(dirname "$(dirname "${BASH_SOURCE[0]}")")
|
|
cd $SRC_DIR
|
|
|
|
PROJECT_ROOT=$(readlink -f ../)
|
|
PATH=$PROJECT_ROOT/venv/bin:$PATH
|
|
|
|
source /etc/profile.d/treeherder.sh
|
|
|
|
exec newrelic-admin run-program celery -A treeherder worker -c 1 \
|
|
-Q classification_mirroring,publish_to_pulse -E --maxtasksperchild=500 \
|
|
-l INFO -n hp.%h
|