chiark / gitweb /
unit: introduce AllowIsolate= switch
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index 0551a9b7e212a0866aea16cd80a1362f84ed0730..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=finish
-ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown
+Type=oneshot
+ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown