diff --git a/roles/custom/matrix-element-call/templates/systemd/matrix-jwt-service.service.j2 b/roles/custom/matrix-element-call/templates/systemd/matrix-jwt-service.service.j2 index 1df21478d..7d2ac8fd8 100644 --- a/roles/custom/matrix-element-call/templates/systemd/matrix-jwt-service.service.j2 +++ b/roles/custom/matrix-element-call/templates/systemd/matrix-jwt-service.service.j2 @@ -18,9 +18,8 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \ --network={{ matrix_element_call_container_network }} \ -p {{ matrix_jwt_service_port }}:8080 \ --env-file={{ matrix_element_call_base_path }}/config/env \ - --label-file={{ matrix_element_call_base_path }}/config/labels \ - {{ matrix_jwt_service_image }} \ - serve + --label-file={{ matrix_element_call_base_path }}/config/jwt-service-labels \ + {{ matrix_jwt_service_image }} {% for network in matrix_element_call_container_additional_networks %} ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-jwt-service