From: Evgeny Vereshchagin Date: Mon, 28 Sep 2015 01:08:20 +0000 (+0000) Subject: man: journald: add commands for /var/log/journal creating X-Git-Tag: v227~63^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1398%2Fhead;p=thirdparty%2Fsystemd.git man: journald: add commands for /var/log/journal creating See https://github.com/systemd/systemd/issues/1397 --- diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml index dae6ee6042c..bd0082712ee 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 /var/log/journal/ where systemd-journald will then store the - data. + data: + + mkdir -p /var/log/journal +systemd-tmpfiles --create --prefix /var/log/journal systemd-journald will forward all received log messages to the