From a9c3547c8f5b9e031f6a891c68f9121d53d7880e Mon Sep 17 00:00:00 2001 From: mhoellein Date: Thu, 3 Feb 2022 09:37:02 +0100 Subject: [PATCH] daily autocommit --- .etckeeper | 1 + apache2/sites-available/graphite-web.conf | 22 ++++++++++++++++++++++ apache2/sites-enabled/graphite-web.conf | 1 + graphite/local_settings.py | 2 +- 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 apache2/sites-available/graphite-web.conf create mode 120000 apache2/sites-enabled/graphite-web.conf diff --git a/.etckeeper b/.etckeeper index 0f6601b04..2aa0c0867 100755 --- a/.etckeeper +++ b/.etckeeper @@ -484,6 +484,7 @@ maybe chmod 0644 'apache2/sites-available/000-default.conf' maybe chmod 0644 'apache2/sites-available/collabora.conf' maybe chmod 0644 'apache2/sites-available/default-ssl.conf' maybe chmod 0644 'apache2/sites-available/dyndns.conf' +maybe chmod 0644 'apache2/sites-available/graphite-web.conf' maybe chmod 0644 'apache2/sites-available/graphite.conf' maybe chmod 0644 'apache2/sites-available/hoellein.online.conf' maybe chmod 0644 'apache2/sites-available/http_hoellein.online.conf' diff --git a/apache2/sites-available/graphite-web.conf b/apache2/sites-available/graphite-web.conf new file mode 100644 index 000000000..1ae86c0a1 --- /dev/null +++ b/apache2/sites-available/graphite-web.conf @@ -0,0 +1,22 @@ + + + WSGIDaemonProcess _graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 user=_graphite group=_graphite + WSGIProcessGroup _graphite + WSGIImportScript /usr/share/graphite-web/graphite.wsgi process-group=_graphite application-group=%{GLOBAL} + WSGIScriptAlias / /usr/share/graphite-web/graphite.wsgi + + Alias /static/ /usr/share/graphite-web/static/ + + SetHandler None + + + ErrorLog ${APACHE_LOG_DIR}/graphite-web_error.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog ${APACHE_LOG_DIR}/graphite-web_access.log combined + + + diff --git a/apache2/sites-enabled/graphite-web.conf b/apache2/sites-enabled/graphite-web.conf new file mode 120000 index 000000000..d43716274 --- /dev/null +++ b/apache2/sites-enabled/graphite-web.conf @@ -0,0 +1 @@ +../sites-available/graphite-web.conf \ No newline at end of file diff --git a/graphite/local_settings.py b/graphite/local_settings.py index 84884868e..71711a8f6 100644 --- a/graphite/local_settings.py +++ b/graphite/local_settings.py @@ -266,7 +266,7 @@ DATABASES = { 'NAME': 'graphite', 'ENGINE': 'django.db.backends.mysql', 'USER': 'graphite', - 'PASSWORD': 'StrongP@Ssword', + 'PASSWORD': 'xbUOkdAkW2rsWp4hzZMJo7kr+G83c50svl7OuJsZ7OGW', 'HOST': '127.0.0.1', 'PORT': '' } -- 2.43.0