X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-journal-flush.service.in;h=98c91b4bc5c50f9ce281117554cbb13c025b8137;hp=699670bb4ee79a3a3be1d3ab5dedf80a8054c3cf;hb=baade8cc237c37bd8905d86ec6e9c7872d4abe03;hpb=74055aa76278232ff05574fc47c4e6b3560554a7 diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in index 699670bb4..98c91b4bc 100644 --- a/units/systemd-journal-flush.service.in +++ b/units/systemd-journal-flush.service.in @@ -6,12 +6,14 @@ # (at your option) any later version. [Unit] -Description=Trigger Flushing of Journal to Persistent Storage +Description=Flush 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 +After=systemd-remount-fs.service Before=systemd-user-sessions.service systemd-tmpfiles-setup.service +RequiresMountsFor=/var/log/journal [Service] ExecStart=@rootbindir@/journalctl --flush