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

units: make sure the file system is writable before we write utmp data

This commit is contained in:
Lennart Poettering 2010-09-14 01:07:06 +02:00
parent f21781d57f
commit 3c4e3e1a9b
2 changed files with 4 additions and 2 deletions

View File

@ -8,8 +8,9 @@
[Unit]
Description=Notify Audit System and Update UTMP about System Runlevel Changes
DefaultDependencies=no
Wants=local-fs.target sysinit.target
After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target
Before=poweroff.service reboot.service halt.service killall.service
After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service
[Service]
Type=oneshot

View File

@ -8,8 +8,9 @@
[Unit]
Description=Notify Audit System and Update UTMP about System Shutdown
DefaultDependencies=no
Wants=local-fs.target sysinit.target
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
Before=poweroff.service reboot.service halt.service killall.service
After=systemd-update-utmp-runlevel.service
[Service]
Type=oneshot