summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-19 02:02:39 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-19 02:02:39 +0200
commit57fb9fb56db0584581ce33ee842dcbf5f1136856 (patch)
tree5fc609d09ecb11d2ad8fc6654f281132e42829d7 /man
parent4a299a7ad547becb70e8271eaf8cdc27e8e6836a (diff)
nspawn: introduce new --link-journal= switch to link container journals into host
Diffstat (limited to 'man')
-rw-r--r--man/systemd-nspawn.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index b6f2c278da..9f8b8e2ae4 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -235,6 +235,54 @@
CAP_SYS_RESOURCE.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--link-journal=</option></term>
+
+ <listitem><para>Control whether the
+ container's journal shall be made
+ visible to the host system. If enabled
+ allows viewing the container's journal
+ files from the host (but not vice
+ versa). Takes one of
+ <literal>no</literal>,
+ <literal>host</literal>,
+ <literal>guest</literal>,
+ <literal>auto</literal>. If
+ <literal>no</literal> the journal is
+ not linked. If <literal>host</literal>
+ the journal files are stored on the
+ host file system (beneath the host's
+ <filename>/var/log/journal</filename>)
+ and a per-machine subdirectory of this
+ directory is created and bind mounted
+ into the container at the same
+ location. If <literal>guest</literal>
+ the journal files are stored on the
+ guest file system (beneath the guest's
+ <filename>/var/log/journal</filename>)
+ and a per-machine subdirectory of this
+ directory is symlinked into the host
+ at the same location. If
+ <literal>auto</literal> (the default)
+ and the subdirectory of
+ <filename>/var/log/journal</filename>
+ exists as directory it is bind mounted
+ into the container, but nothing is
+ done otherwise. Effectively, booting a
+ container once with
+ <literal>guest</literal> or
+ <literal>host</literal> will link the
+ journal persistantly if further one
+ the default of <literal>auto</literal>
+ is used.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-j</option></term>
+
+ <listitem><para>Equivalent to
+ <option>--link-journal=guest</option>.</para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>