X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-update-utmp-shutdown.service.in;h=e071285e3a16e86a858b3dd01d4bad7dde230419;hp=0551a9b7e212a0866aea16cd80a1362f84ed0730;hb=8f78c3aafbf06edc8ff8a10e0346fb16bad45c12;hpb=cd6d0a456bc9c45fa79316fc5896e4a3ae75a30b diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 0551a9b7e..e071285e3 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -8,9 +8,9 @@ [Unit] Description=Notify Audit System and Update UTMP about System Shutdown DefaultDependencies=no -Before=killall.service +Before=poweroff.service reboot.service halt.service killall.service Conflicts=systemd-update-utmp-runlevel.service [Service] -Type=finish -ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown +Type=oneshot +ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown