units: make sure we always fully write the utmp data

This commit is contained in:
Lennart Poettering 2010-09-06 15:01:31 +02:00
parent 96d4ce0110
commit d3f929f0fc
2 changed files with 2 additions and 3 deletions

View 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

View 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