1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

units: write utmp record before we kill all processes

This commit is contained in:
Lennart Poettering 2010-08-14 19:25:12 +02:00
parent 2a2387d8a9
commit 0dcc785749
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@
Description=Notify Audit System and Update UTMP about System Runlevel Changes
DefaultDependencies=no
After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service
Conflicts=shutdown.target
Before=shutdown.target
[Service]
Type=oneshot

View File

@ -8,7 +8,7 @@
[Unit]
Description=Notify Audit System and Update UTMP about System Shutdown
DefaultDependencies=no
Before=killall.service
Before=poweroff.service reboot.service halt.service killall.service
Conflicts=systemd-update-utmp-runlevel.service
[Service]