summaryrefslogtreecommitdiff
path: root/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-graphite-web/files/patch-conf__graphite.wsgi.example')
-rw-r--r--www/py-graphite-web/files/patch-conf__graphite.wsgi.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/py-graphite-web/files/patch-conf__graphite.wsgi.example b/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
new file mode 100644
index 000000000000..6bcac678d6ae
--- /dev/null
+++ b/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
@@ -0,0 +1,9 @@
+--- ./conf/graphite.wsgi.example.orig 2013-08-21 17:11:04.000000000 +0000
++++ ./conf/graphite.wsgi.example 2014-02-12 20:50:27.343398788 +0000
+@@ -1,5 +1,5 @@
+ import os, sys
+-sys.path.append('/opt/graphite/webapp')
++sys.path.append('%%PREFIX%%/graphite/webapp')
+ os.environ['DJANGO_SETTINGS_MODULE'] = 'graphite.settings'
+
+ import django.core.handlers.wsgi