Skip to content

Commit

Permalink
containerd: add After=dbus.service (#11781)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
VannTen authored Dec 11, 2024
1 parent 782c0b3 commit 1307b2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1307b2f

Please sign in to comment.