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=2042b71cb77690a3aab632db873df066500f49a4;hp=0551a9b7e212a0866aea16cd80a1362f84ed0730;hb=f21781d57f7e012c1d576dfd8c30b411014c5a88;hpb=cd6d0a456bc9c45fa79316fc5896e4a3ae75a30b diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 0551a9b7e..2042b71cb 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 -Conflicts=systemd-update-utmp-runlevel.service +Before=poweroff.service reboot.service halt.service killall.service +After=systemd-update-utmp-runlevel.service [Service] -Type=finish -ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown +Type=oneshot +ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown