Verified Commit dd25b527 authored by paz's avatar paz
Browse files

Default to /var/lib/schleuder.

parent 2cafddd8
# Where are the list-directories stored (contain log-files and GnuPG-keyrings).
lists_dir: /var/schleuder/lists
lists_dir: /var/lib/schleuder/lists
# Where to write list-logs. The actual log-file will be <lists_logs_base_dir>/<hostname>/<listname>/list.log.
listlogs_dir: /var/schleuder/lists
listlogs_dir: /var/lib/schleuder/lists
# Schleuder reads plugins also from this directory.
plugins_dir: /etc/schleuder/plugins
......@@ -25,7 +25,7 @@ smtp_settings:
database:
production:
adapter: 'sqlite3'
database: /var/schleuder/db.sqlite
database: /var/lib/schleuder/db.sqlite
timeout: 5000
# Note: The API-daemon will bind only to localhost if no TLS-cert+keys are available.
......
......@@ -5,8 +5,8 @@ module Schleuder
EMAIL_REGEXP = /\A.+@.+\z/i
DEFAULTS = {
'lists_dir' => '/var/schleuder/lists',
'listlogs_dir' => '/var/schleuder/lists',
'lists_dir' => '/var/lib/schleuder/lists',
'listlogs_dir' => '/var/lib/schleuder/lists',
'plugins_dir' => '/etc/schleuder/plugins',
'log_level' => 'warn',
'smtp_settings' => {
......@@ -24,7 +24,7 @@ module Schleuder
'database' => {
'production' => {
'adapter' => 'sqlite3',
'database' => '/var/schleuder/db.sqlite',
'database' => '/var/lib/schleuder/db.sqlite',
'timeout' => 5000
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment