X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-journal-flush.service.in;h=98c91b4bc5c50f9ce281117554cbb13c025b8137;hp=503e8a63b812b5da8f1bebb0a08092f49b185f24;hb=1f1926aa5e836caa3bd6df43704aecd606135103;hpb=b8156be03f71c53072c7126bb418410acbef6c81 diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in index 503e8a63b..98c91b4bc 100644 --- a/units/systemd-journal-flush.service.in +++ b/units/systemd-journal-flush.service.in @@ -6,13 +6,16 @@ # (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 -Before=systemd-user-sessions.service +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@/systemctl kill --kill-who=main --signal=SIGUSR1 systemd-journald.service +ExecStart=@rootbindir@/journalctl --flush Type=oneshot +RemainAfterExit=yes