diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-31 16:22:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-31 16:23:39 +0100 |
commit | 919699ec301ea507edce4a619141ed22e789ac0d (patch) | |
tree | 0a74f97b58719730a58d3da5e14fd328719ade71 /units/systemd-journal-flush.service.in | |
parent | fddbb89c46ea5d39e52e361b390ea34a06cbb67c (diff) | |
download | systemd-919699ec301ea507edce4a619141ed22e789ac0d.tar.gz |
units: don't order journal flushing afte remote-fs.target
Instead, only depend on the actual file systems we need.
This should solve dep loops on setups where remote-fs.target is moved
into late boot.
Diffstat (limited to 'units/systemd-journal-flush.service.in')
-rw-r--r-- | units/systemd-journal-flush.service.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in index 699670bb4e..2612220e2e 100644 --- a/units/systemd-journal-flush.service.in +++ b/units/systemd-journal-flush.service.in @@ -10,8 +10,9 @@ Description=Trigger Flushing of Journal to Persistent Storage Documentation=man:systemd-journald.service(8) man:journald.conf(5) DefaultDependencies=no Requires=systemd-journald.service -After=systemd-journald.service local-fs.target remote-fs.target +After=systemd-journald.service Before=systemd-user-sessions.service systemd-tmpfiles-setup.service +RequiresMountsFor=/var/log/journal [Service] ExecStart=@rootbindir@/journalctl --flush |