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=c30d86d24c9348a9d01b8b97141fc61adf9ee6ca;hp=f5d1342243b9b4fdd266f3919055a2507c6f8b60;hb=177b3ffedbfc1aea839324edeb1f35a1a754ef5b;hpb=34e9ba669e75fb3b8f481076e75df5c2abb8192b diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index f5d134224..c30d86d24 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 -Before=killall.service -Conflicts=systemd-update-utmp-runlevel.service +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 [Service] Type=oneshot -ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown +ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown