Skip to content

Commit

Permalink
containerd: specify killmode=mixed
Browse files Browse the repository at this point in the history
KillMode=mixed is necessary because when containerd.service shuts down
it also needs to reap its child `containerd-shim` processes. Otherwise
the system gets stuck on waiting for shim processes to stop when trying to reboot
  • Loading branch information
etungsten committed Jan 15, 2020
1 parent 3498ca0 commit 75125f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/containerd/containerd.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Wants=network-online.target configured.target
[Service]
ExecStart=/usr/bin/containerd
Delegate=yes
KillMode=process
KillMode=mixed
TimeoutSec=0
RestartSec=2
Restart=always
Expand Down

0 comments on commit 75125f6

Please sign in to comment.