Ver a proveniência

update hookshot.service to ExecStopPost

pull/1505/head
HarHarLinks há 4 anos
ascendente
cometimento
a3c84f78ca
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      roles/matrix-bridge-hookshot/templates/systemd/matrix-hookshot.service.j2

+ 2
- 2
roles/matrix-bridge-hookshot/templates/systemd/matrix-hookshot.service.j2 Ver ficheiro

@@ -30,8 +30,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name {{ matrix_hookshot_co
{% endfor %} {% endfor %}
{{ matrix_hookshot_docker_image }} {{ matrix_hookshot_docker_image }}


ExecStop=-{{ matrix_host_command_docker }} kill {{ matrix_hookshot_container_url }}
ExecStop=-{{ matrix_host_command_docker }} rm {{ matrix_hookshot_container_url }}
ExecStopPost=-{{ matrix_host_command_docker }} kill {{ matrix_hookshot_container_url }}
ExecStopPost=-{{ matrix_host_command_docker }} rm {{ matrix_hookshot_container_url }}
Restart=always Restart=always
RestartSec=30 RestartSec=30
SyslogIdentifier={{ matrix_hookshot_container_url }} SyslogIdentifier={{ matrix_hookshot_container_url }}


Carregando…
Cancelar
Guardar