X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-update-utmp-shutdown.service.in;fp=units%2Fsystemd-update-utmp-shutdown.service.in;h=8615d150b5206bb43e6f325c979ef80463b87fc6;hb=0e0320e04500d1e68630b3973714f14cfb7b3450;hp=5b726c3688ef96aa4c07cacff0225588a1c47991;hpb=93a1d735aca5584a005d851f12cb0b8c7bb5e5ca;p=elogind.git diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 5b726c368..8615d150b 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -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