mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Added newrelic support
This commit is contained in:
parent
c61bb96121
commit
807c4c3d74
2 changed files with 3 additions and 1 deletions
|
@ -14,3 +14,4 @@ docutils
|
||||||
django-redis==3.3
|
django-redis==3.3
|
||||||
gunicorn==18.0
|
gunicorn==18.0
|
||||||
south==0.8.2
|
south==0.8.2
|
||||||
|
newrelic
|
||||||
|
|
|
@ -7,7 +7,8 @@ respawn limit 10 5
|
||||||
setuid www-data
|
setuid www-data
|
||||||
setgid www-data
|
setgid www-data
|
||||||
|
|
||||||
exec /srv/dpaste.de/bin/python /srv/dpaste.de/bin/manage.py run_gunicorn \
|
exec NEW_RELIC_CONFIG_FILE=/srv/dpaste.de/var/newrelic.ini \
|
||||||
|
/srv/dpaste.de/bin/newrelic-admin run-program /srv/dpaste.de/bin/python /srv/dpaste.de/bin/manage.py run_gunicorn \
|
||||||
--user=www-data \
|
--user=www-data \
|
||||||
--group=www-data \
|
--group=www-data \
|
||||||
--workers=2 \
|
--workers=2 \
|
||||||
|
|
Loading…
Reference in a new issue