summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-12 20:21:47 +0100
committerGitHub <noreply@github.com>2024-01-12 20:21:47 +0100
commitfef091bd6dc5c3cdfae47e9adb86f610a75a8a4d (patch)
tree544cb0d1c762ce175ca855a67af5aba229cd1400 /data
parent9c3129ec3720281fd2ad4d6ad6754bcfb19255fc (diff)
parent4c71c46cbb840167708e75e902de5bfc9e31a03e (diff)
downloadvyos-1x-fef091bd6dc5c3cdfae47e9adb86f610a75a8a4d.tar.gz
vyos-1x-fef091bd6dc5c3cdfae47e9adb86f610a75a8a4d.zip
Merge pull request #2814 from sever-sever/T5925
T5925: Containers change systemd KillMode
Diffstat (limited to 'data')
-rw-r--r--data/templates/container/systemd-unit.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/container/systemd-unit.j2 b/data/templates/container/systemd-unit.j2
index fa48384ab..d379f0a07 100644
--- a/data/templates/container/systemd-unit.j2
+++ b/data/templates/container/systemd-unit.j2
@@ -13,5 +13,5 @@ ExecStop=/usr/bin/podman stop --ignore --cidfile %t/%n.cid -t 5
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/%n.cid
ExecStopPost=/bin/rm -f %t/%n.cid
PIDFile=%t/%n.pid
-KillMode=none
+KillMode=control-group
Type=forking