2023-06-22 12:36:53 +00:00
|
|
|
Index: HyperKitty-1.3.6/example_project/settings.py
|
2020-12-15 15:11:10 +00:00
|
|
|
===================================================================
|
2023-06-22 12:36:53 +00:00
|
|
|
--- HyperKitty-1.3.6.orig/example_project/settings.py 2022-05-19 03:16:49.000000000 +0200
|
|
|
|
+++ HyperKitty-1.3.6/example_project/settings.py 2022-11-21 10:36:26.670671874 +0100
|
|
|
|
@@ -134,7 +134,7 @@ DATABASES = {
|
2020-12-15 15:11:10 +00:00
|
|
|
# Use 'sqlite3', 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
# DB name or path to database file if using sqlite3.
|
|
|
|
- 'NAME': os.path.join(BASE_DIR, 'hyperkitty.db'),
|
|
|
|
+ 'NAME': '/var/lib/hyperkitty/data/hyperkitty.db',
|
|
|
|
# The following settings are not used with sqlite3:
|
|
|
|
'USER': 'hyperkitty',
|
|
|
|
'PASSWORD': 'hkpass',
|
2023-06-22 12:36:53 +00:00
|
|
|
@@ -205,7 +205,7 @@ USE_TZ = True
|
2020-12-15 15:11:10 +00:00
|
|
|
# Don't put anything in this directory yourself; store your static files
|
|
|
|
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
|
|
|
|
# Example: "/var/www/example.com/static/"
|
|
|
|
-STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
|
|
|
+STATIC_ROOT = '/srv/www/webapps/mailman/hyperkitty/static'
|
|
|
|
|
|
|
|
# URL prefix for static files.
|
|
|
|
# Example: "http://example.com/static/", "http://static.example.com/"
|
2023-06-22 12:36:53 +00:00
|
|
|
@@ -386,7 +386,7 @@ LOGGING = {
|
2020-12-15 15:11:10 +00:00
|
|
|
'level': 'INFO',
|
|
|
|
#'class': 'logging.handlers.RotatingFileHandler',
|
|
|
|
'class': 'logging.handlers.WatchedFileHandler',
|
|
|
|
- 'filename': os.path.join(BASE_DIR, 'hyperkitty.log'),
|
|
|
|
+ 'filename': '/var/log/hyperkitty/hyperkitty.log',
|
|
|
|
'formatter': 'verbose',
|
|
|
|
},
|
2021-11-18 20:41:39 +00:00
|
|
|
'console': {
|