units: make sure we always fully write the utmp data
This commit is contained in:
parent
96d4ce0110
commit
d3f929f0fc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue