summaryrefslogtreecommitdiff
path: root/man/systemd-journald.service.xml
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-09-28 01:08:20 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-09-28 01:12:13 +0000
commitc214ee6f15fd92342a7526fd99dc768d56950ac7 (patch)
tree7149a918a9887ff8c7e9317c7d22b32c29f26b0a /man/systemd-journald.service.xml
parent8e82b3a27152ab1d328d05199df91070f9cb7571 (diff)
man: journald: add commands for /var/log/journal creating
See https://github.com/systemd/systemd/issues/1397
Diffstat (limited to 'man/systemd-journald.service.xml')
-rw-r--r--man/systemd-journald.service.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml
index dae6ee6042..bd0082712e 100644
--- a/man/systemd-journald.service.xml
+++ b/man/systemd-journald.service.xml
@@ -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