chiark / gitweb /
local-fs: invoke emergency.service mounting at boot fails
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index 4c48c8b53ad12428826cab09ecfe54189a845816..c30d86d24c9348a9d01b8b97141fc61adf9ee6ca 100644 (file)
@@ -8,9 +8,10 @@
 [Unit]
 Description=Notify Audit System and Update UTMP about System Shutdown
 DefaultDependencies=no
 [Unit]
 Description=Notify Audit System and Update UTMP about System Shutdown
 DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service 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
 
 [Service]
 Type=oneshot
-ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown
+ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown