Use custom invocation instead of provided script
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user