]> err.no Git - systemd/commitdiff
units: make sure we always fully write the utmp data
authorLennart Poettering <lennart@poettering.net>
Mon, 6 Sep 2010 13:01:31 +0000 (15:01 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 6 Sep 2010 13:01:57 +0000 (15:01 +0200)
units/systemd-update-utmp-runlevel.service.in
units/systemd-update-utmp-shutdown.service.in

index a288d6eb21e92c2e606066e7b4f134995719f7a4..724e4a4c3a34c34a4639c63bb5b532dc6d7ada8e 100644 (file)
@@ -8,9 +8,8 @@
 [Unit]
 Description=Notify Audit System and Update UTMP about System Runlevel Changes
 DefaultDependencies=no
+Before=poweroff.service reboot.service halt.service killall.service
 After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service
-Conflicts=shutdown.target
-Before=shutdown.target
 
 [Service]
 Type=oneshot
index e071285e3a16e86a858b3dd01d4bad7dde230419..2042b71cb77690a3aab632db873df066500f49a4 100644 (file)
@@ -9,7 +9,7 @@
 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
+After=systemd-update-utmp-runlevel.service
 
 [Service]
 Type=oneshot