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=0b4fe928e0451f5ebf7ee80af24c1b58f9402899;hp=4c48c8b53ad12428826cab09ecfe54189a845816;hb=8a0867d6c5b47c8697d1ddd815116a548433c718;hpb=0dcc78574905ca0e31694238662002bd36ca65d4 diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 4c48c8b53..0b4fe928e 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -8,9 +8,10 @@ [Unit] Description=Notify Audit System and Update UTMP about System Shutdown DefaultDependencies=no +Wants=local-fs.target sysinit.target +After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service Before=poweroff.service reboot.service halt.service killall.service -Conflicts=systemd-update-utmp-runlevel.service [Service] Type=oneshot -ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown +ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown