aboutsummaryrefslogtreecommitdiff
path: root/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
blob: 1e2b7d2ec0bfd86f2fa03342a154b3df2af1cd43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- conf/graphite.wsgi.example.orig	2021-04-19 05:24:42 UTC
+++ conf/graphite.wsgi.example
@@ -2,6 +2,6 @@ import sys
 # In case of multi-instance graphite, uncomment and set appropriate name
 # import os
 # os.environ['GRAPHITE_SETTINGS_MODULE'] = 'graphite.local_settings'
-sys.path.append('/opt/graphite/webapp')
+sys.path.append('%%PYTHON_SITELIBDIR%%/graphite')
 
 from graphite.wsgi import application