summaryrefslogtreecommitdiff
path: root/units/systemd-update-utmp-runlevel.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-14 01:07:06 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-14 01:07:06 +0200
commit3c4e3e1a9b5d4ffc13f61cc6510d67deb702fb6b (patch)
tree5d68cc08f359b166855649ddb1af68cc2b920b92 /units/systemd-update-utmp-runlevel.service.in
parentf21781d57f7e012c1d576dfd8c30b411014c5a88 (diff)
units: make sure the file system is writable before we write utmp data
Diffstat (limited to 'units/systemd-update-utmp-runlevel.service.in')
-rw-r--r--units/systemd-update-utmp-runlevel.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in
index 724e4a4c3a..0cbde37c2a 100644
--- a/units/systemd-update-utmp-runlevel.service.in
+++ b/units/systemd-update-utmp-runlevel.service.in
@@ -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