Browse Source

containerd: add After=dbus.service (#11781)

This is needed for shutdown ordering: while at startup, it's not a
problem that containerd start before dbus (the dbus socket already
exists) it needs to shutdown before dbus to do its cleanup (asking
systemd via dbus to cleanup cgroups).
pull/11788/head
Max Gautier 2 months ago
committed by GitHub
parent
commit
1307b2fe07
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/container-engine/containerd/templates/containerd.service.j2

2
roles/container-engine/containerd/templates/containerd.service.j2

@ -15,7 +15,7 @@
[Unit]
Description=containerd container runtime
Documentation=https://containerd.io
After=network.target local-fs.target
After=network.target local-fs.target dbus.service
[Service]
ExecStartPre=-/sbin/modprobe overlay

Loading…
Cancel
Save