ソースを参照

Merge pull request #2000 from Cadair/maubot_dbs_fix

Add back sqlite plugin database config option to maubot
pull/2005/head
Slavi Pantaleev 3年前
committed by GitHub
コミット
5b02b996d5
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
2個のファイルの変更4行の追加1行の削除
  1. +3
    -0
      roles/matrix-bot-maubot/templates/config/config.yaml.j2
  2. +1
    -1
      roles/matrix-bot-maubot/templates/systemd/matrix-bot-maubot.service.j2

+ 3
- 0
roles/matrix-bot-maubot/templates/config/config.yaml.j2 ファイルの表示

@@ -27,6 +27,9 @@ plugin_directories:


# Configuration for storing plugin databases # Configuration for storing plugin databases
plugin_databases: plugin_databases:
# Some plugins still require sqlite, so configure a path here.
# postgres will be used if supported.
sqlite: /data/dbs
postgres: default postgres: default


server: server:


+ 1
- 1
roles/matrix-bot-maubot/templates/systemd/matrix-bot-maubot.service.j2 ファイルの表示

@@ -31,7 +31,7 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-maubot \
-p {{ matrix_bot_maubot_management_interface_http_bind_port }}:{{ matrix_bot_maubot_management_interface_port }} -p {{ matrix_bot_maubot_management_interface_http_bind_port }}:{{ matrix_bot_maubot_management_interface_port }}
{% endif %} {% endif %}
{{ matrix_bot_maubot_docker_image }} \ {{ matrix_bot_maubot_docker_image }} \
python3 -m maubot -c /config/config.yaml
python3 -m maubot -c /config/config.yaml --no-update


ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-maubot 2>/dev/null || true' ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-maubot 2>/dev/null || true'
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-maubot 2>/dev/null || true' ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-maubot 2>/dev/null || true'


読み込み中…
キャンセル
保存