chiark / gitweb /
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 a288d6e..724e4a4 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 e071285..2042b71 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