Commit 0dcc7857 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

units: write utmp record before we kill all processes

parent 2a2387d8
......@@ -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
......
......@@ -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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment