mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
man: journald: add commands for /var/log/journal creating
See https://github.com/systemd/systemd/issues/1397
This commit is contained in:
parent
8e82b3a271
commit
c214ee6f15
@ -99,7 +99,10 @@
|
|||||||
reboot. To make the data persistent, it is sufficient to create
|
reboot. To make the data persistent, it is sufficient to create
|
||||||
<filename>/var/log/journal/</filename> where
|
<filename>/var/log/journal/</filename> where
|
||||||
<filename>systemd-journald</filename> will then store the
|
<filename>systemd-journald</filename> will then store the
|
||||||
data.</para>
|
data:</para>
|
||||||
|
|
||||||
|
<programlisting>mkdir -p /var/log/journal
|
||||||
|
systemd-tmpfiles --create --prefix /var/log/journal</programlisting>
|
||||||
|
|
||||||
<para><filename>systemd-journald</filename> will forward all
|
<para><filename>systemd-journald</filename> will forward all
|
||||||
received log messages to the
|
received log messages to the
|
||||||
|
Loading…
Reference in New Issue
Block a user