chiark / gitweb /
unit: introduce AllowIsolate= switch
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index f5d1342243b9b4fdd266f3919055a2507c6f8b60..e071285e3a16e86a858b3dd01d4bad7dde230419 100644 (file)
@@ -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=oneshot
-ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown
+ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown