diff options
Diffstat (limited to 'units/systemd-journal-flush.service.in')
-rw-r--r-- | units/systemd-journal-flush.service.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in index 503e8a63b8..699670bb4e 100644 --- a/units/systemd-journal-flush.service.in +++ b/units/systemd-journal-flush.service.in @@ -11,8 +11,9 @@ 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 +Before=systemd-user-sessions.service systemd-tmpfiles-setup.service [Service] -ExecStart=@rootbindir@/systemctl kill --kill-who=main --signal=SIGUSR1 systemd-journald.service +ExecStart=@rootbindir@/journalctl --flush Type=oneshot +RemainAfterExit=yes |