[systemd-commits] units/systemd-update-utmp-runlevel.service.in units/systemd-update-utmp-shutdown.service.in

Lennart Poettering lennart at kemper.freedesktop.org
Mon Sep 6 06:02:09 PDT 2010


 units/systemd-update-utmp-runlevel.service.in |    3 +--
 units/systemd-update-utmp-shutdown.service.in |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit d3f929f0fcbbb6e4752243b07222760431789249
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Sep 6 15:01:31 2010 +0200

    units: make sure we always fully write the utmp data

diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in
index a288d6e..724e4a4 100644
--- a/units/systemd-update-utmp-runlevel.service.in
+++ b/units/systemd-update-utmp-runlevel.service.in
@@ -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
diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in
index e071285..2042b71 100644
--- a/units/systemd-update-utmp-shutdown.service.in
+++ b/units/systemd-update-utmp-shutdown.service.in
@@ -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


More information about the systemd-commits mailing list