allow to pass arguments to the postgres process

This commit is contained in:
Max Klenk
2020-09-11 14:29:10 +02:00
parent 880025324a
commit 1e68d8b2e5
2 changed files with 9 additions and 1 deletions

View File

@ -26,7 +26,11 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-postgres \
{% for arg in matrix_postgres_container_extra_arguments %}
{{ arg }} \
{% endfor %}
{{ matrix_postgres_docker_image_to_use }}
{{ matrix_postgres_docker_image_to_use }} \
postgres \
{% for arg in matrix_postgres_process_extra_arguments %}
{{ arg }} \
{% endfor %}
ExecStop=-{{ matrix_host_command_docker }} stop matrix-postgres
ExecStop=-{{ matrix_host_command_docker }} rm matrix-postgres