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=5b726c3688ef96aa4c07cacff0225588a1c47991;hb=7d89ce303fb59743a4392eeb3110c00f100172ca;hpb=49dbfa7b2b0bf3906704dac1eaeb4eba91056a19 diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 5b726c368..aa93562f0 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -7,10 +7,12 @@ [Unit] Description=Update UTMP about System Shutdown -Documentation=man:utmp(5) +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