chiark / gitweb /
systemd-python: updated _reader header to standard license
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index 4af9212700546a0285f7f72618148c211c773f0b..aa93562f02b78490ad80c642912e8be0ec107928 100644 (file)
@@ -6,10 +6,13 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Notify Audit System and Update UTMP about System Shutdown
+Description=Update UTMP about System Shutdown
+Documentation=man:systemd-update-utmp-runlevel.service(8) man:utmp(5)
 DefaultDependencies=no
-After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
-Before=poweroff.service reboot.service halt.service
+RequiresMountsFor=/var/log/wtmp
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
+After=systemd-update-utmp-runlevel.service
+Before=final.target
 
 [Service]
 Type=oneshot