瀏覽代碼

Add no update flag as our config is read only

pull/2000/head
Stuart Mumford 4 年之前
父節點
當前提交
309a2393c3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roles/matrix-bot-maubot/templates/systemd/matrix-bot-maubot.service.j2

+ 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 }}
{% endif %}
{{ 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 }} rm matrix-bot-maubot 2>/dev/null || true'


Loading…
取消
儲存