Make database settings configurable
This commit is contained in:
parent
b1798cf33f
commit
b33fae4ccd
3 changed files with 31 additions and 14 deletions
|
|
@ -159,7 +159,7 @@ lock_file: $lock_dir/master.lck
|
|||
|
||||
[database]
|
||||
# The class implementing the IDatabase.
|
||||
class: mailman.database.sqlite.SQLiteDatabase
|
||||
#class: mailman.database.sqlite.SQLiteDatabase
|
||||
#class: mailman.database.mysql.MySQLDatabase
|
||||
#class: mailman.database.postgresql.PostgreSQLDatabase
|
||||
|
||||
|
|
@ -168,12 +168,14 @@ class: mailman.database.sqlite.SQLiteDatabase
|
|||
# will store their data in this database, although external rosters may access
|
||||
# other databases in their own way. This string supports standard
|
||||
# 'configuration' substitutions.
|
||||
url: sqlite:///$DATA_DIR/mailman.db
|
||||
#url: sqlite:///$DATA_DIR/mailman.db
|
||||
#url: mysql+pymysql://mailman3:mmpass@localhost/mailman3?charset=utf8&use_unicode=1
|
||||
#url: postgres://mailman3:mmpass@localhost/mailman3
|
||||
#debug: no
|
||||
|
||||
debug: no
|
||||
|
||||
{% for key, value in mailman.db.items() %}
|
||||
{{ key }}: {{ value }}
|
||||
{% endfor %}
|
||||
|
||||
[logging.debian]
|
||||
# This defines various log settings. The options available are:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue