diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:35:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:35:52 +0200 |
commit | 41d5895f80962ab91472f5ec86fa55da60e14551 (patch) | |
tree | ed7bb42fa702716887232f4ba7c34dd558ac0b92 | |
parent | 04c45070984d097dde1d10fee344f78a004714e1 (diff) | |
parent | c214ee6f15fd92342a7526fd99dc768d56950ac7 (diff) |
Merge pull request #1398 from evverx/man-systemd-journald
man: journald: add commands for /var/log/journal
-rw-r--r-- | man/systemd-journald.service.xml | 5 |
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 |