man: journald: add commands for /var/log/journal creating
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 28 Sep 2015 01:08:20 +0000 (01:08 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 28 Sep 2015 01:12:13 +0000 (01:12 +0000)
See https://github.com/systemd/systemd/issues/1397

man/systemd-journald.service.xml

index dae6ee6..bd00827 100644 (file)
     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