From 3c4e3e1a9b5d4ffc13f61cc6510d67deb702fb6b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 14 Sep 2010 01:07:06 +0200 Subject: units: make sure the file system is writable before we write utmp data --- units/systemd-update-utmp-shutdown.service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'units/systemd-update-utmp-shutdown.service.in') diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index 2042b71cb7..0b4fe928e0 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -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 -- cgit v1.2.3-54-g00ecf