Add the possibility to pass extra flags to the docker container

This commit is contained in:
Sylvia van Os
2019-04-30 16:35:18 +02:00
parent bf77f776a2
commit 75b1528d13
18 changed files with 54 additions and 0 deletions

View File

@ -27,6 +27,9 @@ ExecStart=/usr/bin/docker run --rm --name matrix-mxisd \
{% endif %}
-v {{ matrix_mxisd_config_path }}:/etc/mxisd:ro \
-v {{ matrix_mxisd_data_path }}:/var/mxisd:rw \
{% for arg in matrix_mxisd_container_extra_arguments %}
{{ arg }} \
{% endfor %}
{{ matrix_mxisd_docker_image }}
ExecStop=-/usr/bin/docker kill matrix-mxisd