chiark / gitweb /
service: 'pidfile:' in SysV chkconfig header implies a real daemon
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index 0551a9b7e212a0866aea16cd80a1362f84ed0730..e7c3c04a00bdac23dbc80c8ffda5bf5c63038dce 100644 (file)
@@ -8,9 +8,9 @@
 [Unit]
 Description=Notify Audit System and Update UTMP about System Shutdown
 DefaultDependencies=no
-Before=killall.service
-Conflicts=systemd-update-utmp-runlevel.service
+After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
+Before=poweroff.service reboot.service halt.service
 
 [Service]
-Type=finish
-ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown
+Type=oneshot
+ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown