chiark / gitweb /
units: rename halt/hibernate/kexec/poweroff/reboot/suspend to systed-xxx
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index 5b726c3688ef96aa4c07cacff0225588a1c47991..8615d150b5206bb43e6f325c979ef80463b87fc6 100644 (file)
@@ -9,8 +9,10 @@
 Description=Update UTMP about System Shutdown
 Documentation=man:utmp(5)
 DefaultDependencies=no
-After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
-Before=poweroff.service reboot.service halt.service
+RequiresMountsFor=/var/log/wtmp
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
+After=systemd-update-utmp-runlevel.service
+Before=final.target
 
 [Service]
 Type=oneshot