X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-update-utmp-shutdown.service.in;h=aa93562f02b78490ad80c642912e8be0ec107928;hp=e86c7705486ef9d3dd43789b50d92ba9e5767a33;hb=84c3f7c2bb47168d2da96f34b56dccedd5cf7efc;hpb=186b97d99fc4017d9c88221791bf8423130a9a1f diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index e86c77054..aa93562f0 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -7,9 +7,12 @@ [Unit] Description=Update UTMP about System Shutdown +Documentation=man:systemd-update-utmp-runlevel.service(8) 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