From c214ee6f15fd92342a7526fd99dc768d56950ac7 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 28 Sep 2015 01:08:20 +0000 Subject: [PATCH] man: journald: add commands for /var/log/journal creating See https://github.com/systemd/systemd/issues/1397 --- man/systemd-journald.service.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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