Bläddra i källkod

Merge pull request #2976 from thiras/master

Fix matrix-user-verification-service service file
pull/2948/head
Slavi Pantaleev 2 år sedan
committed by GitHub
förälder
incheckning
590a75365a
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      roles/custom/matrix-user-verification-service/templates/systemd/matrix-user-verification-service.service.j2

+ 2
- 1
roles/custom/matrix-user-verification-service/templates/systemd/matrix-user-verification-service.service.j2 Visa fil

@@ -17,7 +17,7 @@ ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_s
ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm {{ matrix_user_verification_service_container_name }} 2>/dev/null'


ExecStart={{ devture_systemd_docker_base_host_command_docker }} run \
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
--rm \
--name={{ matrix_user_verification_service_container_name }} \
--log-driver=none \
@@ -37,6 +37,7 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} run \
{% for network in matrix_user_verification_service_container_additional_networks %}
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_user_verification_service_container_name }}
{% endfor %}
ExecStart=/usr/bin/env docker start --attach matrix-user-verification-service

ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} kill {{ matrix_user_verification_service_container_name }} 2>/dev/null'
ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm {{ matrix_user_verification_service_container_name }} 2>/dev/null'


Laddar…
Avbryt
Spara