2015-01-08 22:56:11 +03:00
|
|
|
#! /bin/bash -ex
|
2015-05-14 18:43:05 +03:00
|
|
|
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2015-01-08 22:56:11 +03:00
|
|
|
source /etc/profile.d/treeherder.sh
|
2015-02-26 19:28:12 +03:00
|
|
|
./docker/generate_test_credentials.py
|
2015-02-28 22:51:40 +03:00
|
|
|
|
|
|
|
# Use exec so pid 1 is now gunicon instead of bash...
|
|
|
|
exec gunicorn \
|
2015-01-08 22:56:11 +03:00
|
|
|
-w 5 \
|
|
|
|
-b 0.0.0.0:8000 \
|
|
|
|
--timeout 120 \
|
|
|
|
treeherder.webapp.wsgi:application
|