chiark / gitweb /
journalctl: add new --flush command and make use of it in systemd-journal-flush.service
[elogind.git] / man / journalctl.xml
index 7fb6afc8f67a578f4e14e5c7c855b932baed64c2..db2a1e142b9d8df85b359110a4b091b72fbf6dce 100644 (file)
                                 operation.</para></listitem>
                         </varlistentry>
 
+                        <varlistentry>
+                                <term><option>--flush</option></term>
+
+                                <listitem><para>Asks the Journal
+                                daemon to flush any log data stored in
+                                <filename>/run/systemd/log</filename>
+                                into
+                                <filename>/var/systemd/log</filename>,
+                                if persistent storage is enabled. This
+                                call does not return until the
+                                operation is
+                                complete.</para></listitem>
+                        </varlistentry>
+
                         <xi:include href="standard-options.xml" xpointer="help" />
                         <xi:include href="standard-options.xml" xpointer="version" />
                         <xi:include href="standard-options.xml" xpointer="no-pager" />