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=4c48c8b53ad12428826cab09ecfe54189a845816;hp=0551a9b7e212a0866aea16cd80a1362f84ed0730;hb=6e200d55ae538fc29360cdaa9863f30cdddf58f3;hpb=cd6d0a456bc9c45fa79316fc5896e4a3ae75a30b diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 0551a9b7e..4c48c8b53 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 +Type=oneshot ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown