From 74055aa76278232ff05574fc47c4e6b3560554a7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 23 Oct 2014 00:28:17 +0200 Subject: journalctl: add new --flush command and make use of it in systemd-journal-flush.service This new command will ask the journal daemon to flush all log data stored in /run to /var, and wait for it to complete. This is useful, so that in case of Storage=persistent we can order systemd-tmpfiles-setup afterwards, to ensure any possibly newly created directory in /var/log gets proper access mode and owners. --- man/journalctl.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'man/journalctl.xml') diff --git a/man/journalctl.xml b/man/journalctl.xml index 7fb6afc8f6..db2a1e142b 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -878,6 +878,20 @@ operation. + + + + Asks the Journal + daemon to flush any log data stored in + /run/systemd/log + into + /var/systemd/log, + if persistent storage is enabled. This + call does not return until the + operation is + complete. + + -- cgit v1.2.3-54-g00ecf