mirror of
https://github.com/systemd/systemd.git
synced 2025-02-02 13:47:27 +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
|
||||
<filename>/var/log/journal/</filename> where
|
||||
<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
|
||||
received log messages to the
|
||||
|
Loading…
x
Reference in New Issue
Block a user