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:
parent
2a2387d8a9
commit
0dcc785749
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user