chiark / gitweb /
units: stop sleep.target when it has done its job
[elogind.git] / units / systemd-update-utmp-shutdown.service.in
index e071285e3a16e86a858b3dd01d4bad7dde230419..5b726c3688ef96aa4c07cacff0225588a1c47991 100644 (file)
@@ -1,15 +1,16 @@
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (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:utmp(5)
 DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service 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=oneshot