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=4af9212700546a0285f7f72618148c211c773f0b;hb=84c3f7c2bb47168d2da96f34b56dccedd5cf7efc;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 4af921270..aa93562f0 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -6,10 +6,13 @@ # (at your option) any later version. [Unit] -Description=Notify Audit System and Update UTMP about System Shutdown +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