瀏覽代碼

update hookshot.service to ExecStopPost

pull/1505/head
HarHarLinks 4 年之前
父節點
當前提交
a3c84f78ca
共有 1 個檔案被更改,包括 2 行新增2 行删除
  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 查看文件

@@ -30,8 +30,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name {{ matrix_hookshot_co
{% endfor %}
{{ 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
RestartSec=30
SyslogIdentifier={{ matrix_hookshot_container_url }}


Loading…
取消
儲存