Commit Graph

10 Commits

Author SHA1 Message Date
Jelle van der Waa
d82bfa19b6 Fix hardcoded python version in archweb.wsgi 2019-01-21 21:19:58 +01:00
Jelle van der Waa
97e75a4216 Switch shebang for Python 3 support 2019-01-21 21:19:58 +01:00
Jelle van der Waa
2bc7d4cd2d remove unused newrelic
New Relic is not used in production.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2017-04-17 21:56:52 +02:00
Dan McGee
39a52bbe34 Properly start the Django application in WSGI context
Apparently things changed a while back, but no notice was given
anywhere. https://code.djangoproject.com/ticket/23437

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11 19:09:49 -05:00
Dan McGee
05f3c5fd19 Load key before importing newrelic
Their code stupidly grabs the environment variable during import, not
during the initialize call.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13 20:26:52 -06:00
Dan McGee
57730e4917 Try 3 at getting the New Relic license key in
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13 20:17:16 -06:00
Dan McGee
8986be44be More tweaks for New Relic in WSGI script
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13 19:56:58 -06:00
Dan McGee
c1c12b3538 Enable newrelic in WSGI if available
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13 19:31:18 -06:00
Dan McGee
9234d77877 Simplify the WSGI script
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13 19:23:53 -06:00
Dan McGee
9a9bf24787 Add current production archweb.wsgi script
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13 19:23:08 -06:00