diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-14 01:08:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-14 01:08:06 +0200 |
commit | c163d26a97f4f69422ec4ea0cfe4c7e211d824c1 (patch) | |
tree | e7ff5496ce05a94e2380f4701f7e5551892a0f35 | |
parent | 146e68f5c39653ba5878c6f32b3700d7fbabf777 (diff) |
systemd: make sure the file system is writable before we write log data
-rw-r--r-- | data/console-kit-log-system-restart.service.in | 3 | ||||
-rw-r--r-- | data/console-kit-log-system-start.service.in | 3 | ||||
-rw-r--r-- | data/console-kit-log-system-stop.service.in | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/data/console-kit-log-system-restart.service.in b/data/console-kit-log-system-restart.service.in index 905b330..ad8f624 100644 --- a/data/console-kit-log-system-restart.service.in +++ b/data/console-kit-log-system-restart.service.in @@ -1,8 +1,9 @@ [Unit] Description=Console System Reboot Logging DefaultDependencies=no +Wants=local-fs.target sysinit.target +After=local-fs.target sysinit.target console-kit-system-start.service Before=poweroff.service reboot.service halt.service killall.service -After=console-kit-system-start.service [Service] Type=oneshot diff --git a/data/console-kit-log-system-start.service.in b/data/console-kit-log-system-start.service.in index 56e1022..ccda7f4 100644 --- a/data/console-kit-log-system-start.service.in +++ b/data/console-kit-log-system-start.service.in @@ -1,8 +1,9 @@ [Unit] Description=Console System Startup Logging DefaultDependencies=no +Wants=local-fs.target sysinit.target +After=local-fs.target sysinit.target Before=poweroff.service reboot.service halt.service killall.service -After=local-fs.target [Service] Type=oneshot diff --git a/data/console-kit-log-system-stop.service.in b/data/console-kit-log-system-stop.service.in index 3292238..928e6bf 100644 --- a/data/console-kit-log-system-stop.service.in +++ b/data/console-kit-log-system-stop.service.in @@ -1,8 +1,9 @@ [Unit] Description=Console System Shutdown Logging DefaultDependencies=no +Wants=local-fs.target sysinit.target +After=local-fs.target sysinit.target console-kit-system-start.service Before=poweroff.service reboot.service halt.service killall.service -After=console-kit-system-start.service [Service] Type=oneshot |