Files
graphite-web/graphite-web-fix_invalide_theme.patch
Lars Vogdt d34b97da10 Accepting request 646036 from home:ecsos:monitoring
New package need for icingaweb2-module-graphite

- update to 1.1.4
- rebase spec
- drop usr-share.patch because no more need
- add graphite-web-path.patch to preallocate graphite paths.
- use apache.conf from upstream
- change initial database commond to wich are descriped in 
  upstream doc.
- Fix startup error with change of rights for /var/lib/graphite/storage
- Ensure /var/lib/graphite/graphite.db is writable by apache user
- Prefer /usr/share/graphite, /etc/graphite etc. to match python
  site-packages directory naming, and also what calamari-server expects
  (this obsoletes earlier graphite-web change).
- Ensure `manage.py syncdb` is invoked correctly on first install
- Generate random SECRET_KEY on install
- Use /usr/share/graphite-web instead of /usr/share/graphite
- Initial SUSE packaging

OBS-URL: https://build.opensuse.org/request/show/646036
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/graphite-web?expand=0&rev=1
2018-11-04 08:34:29 +00:00

13 lines
605 B
Diff

diff -Pdpru graphite-web-1.1.4.orig/webapp/graphite/settings.py graphite-web-1.1.4/webapp/graphite/settings.py
--- graphite-web-1.1.4.orig/webapp/graphite/settings.py 2018-09-04 00:00:39.000000000 +0200
+++ graphite-web-1.1.4/webapp/graphite/settings.py 2018-10-01 14:11:12.050133135 +0200
@@ -35,7 +35,7 @@ DATE_FORMAT = '%m/%d'
# Filesystem layout
WEB_DIR = dirname( abspath(__file__) )
-WEBAPP_DIR = dirname(WEB_DIR)
+WEBAPP_DIR = '/var/lib/graphite/webapp'
GRAPHITE_ROOT = dirname(WEBAPP_DIR)
# Initialize additional path variables
# Defaults for these are set after local_settings is imported