Skip to content

Commit

Permalink
wtmpdb-update-boot service requires dbus
Browse files Browse the repository at this point in the history
wtmpdb uses dbus to find out if this is a soft-reboot or hard reboot.
  • Loading branch information
thkukuk committed Aug 14, 2024
1 parent b2a2b76 commit 1855b60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion units/wtmpdb-update-boot.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ DefaultDependencies=no
RequiresMountsFor=/var/lib/wtmpdb
Conflicts=shutdown.target
After=systemd-remount-fs.service systemd-tmpfiles-setup.service
Before=sysinit.target shutdown.target
Before=shutdown.target
# Ask for the dbus socket.
Wants=dbus.socket
After=dbus.socket

[Service]
Type=oneshot
Expand Down

0 comments on commit 1855b60

Please sign in to comment.