Skip to content
Snippets Groups Projects
Commit e880282c authored by godog's avatar godog
Browse files

Merge branch 'container-systemd-reload' into 'master'

base-docker: support reload via 'kill' container runtime command

See merge request !313
parents 4d33d40a 974ba9c6
No related branches found
No related tags found
1 merge request!313base-docker: support reload via 'kill' container runtime command
Pipeline #93621 passed
...@@ -21,6 +21,7 @@ ExecStart=/usr/lib/float/docker/run-{{ item.service }}-{{ item.container.name }} ...@@ -21,6 +21,7 @@ ExecStart=/usr/lib/float/docker/run-{{ item.service }}-{{ item.container.name }}
ExecStopPost=-/usr/bin/{{ container_runtime }} rm -f -i --cidfile=%t/%N.cid ExecStopPost=-/usr/bin/{{ container_runtime }} rm -f -i --cidfile=%t/%N.cid
{% endif %} {% endif %}
ExecStopPost=-rm -f %t/%N.cid ExecStopPost=-rm -f %t/%N.cid
ExecReload=/usr/bin/{{ container_runtime }} kill --signal SIGHUP {{ item.service }}-{{ item.container.name }}
TimeoutStopSec=60 TimeoutStopSec=60
TimeoutStartSec=240 TimeoutStartSec=240
KillMode=mixed KillMode=mixed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment