mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 20:45:48 +00:00
Use custom invocation instead of provided script
This commit is contained in:
parent
59806ec3ea
commit
07cfd3ba09
@ -10,6 +10,9 @@
|
||||
with_items:
|
||||
- {path: "{{ matrix_bot_maubot_base_path }}", when: true}
|
||||
- {path: "{{ matrix_bot_maubot_data_path }}", when: true}
|
||||
- {path: "{{ matrix_bot_maubot_data_path }}/plugins", when: true }
|
||||
- {path: "{{ matrix_bot_maubot_data_path }}/dbs", when: true }
|
||||
- {path: "{{ matrix_bot_maubot_data_path }}/trash", when: true }
|
||||
- {path: "{{ matrix_bot_maubot_docker_src_files_path }}", when: "{{ matrix_bot_maubot_container_image_self_build }}"}
|
||||
when: "item.when|bool"
|
||||
|
||||
|
@ -29,7 +29,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-maubot \
|
||||
{% if matrix_bot_maubot_expose_management_interface|bool %}
|
||||
-p {{ matrix_bot_maubot_port }}:29316 \
|
||||
{% endif %}
|
||||
{{ matrix_bot_maubot_docker_image }}
|
||||
{{ matrix_bot_maubot_docker_image }} \
|
||||
python3 -m maubot -c /data/config.yaml
|
||||
|
||||
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…
Reference in New Issue
Block a user