0453073
From b66b41c3b5c9567cafce132782bae32055d6a69a Mon Sep 17 00:00:00 2001
0453073
From: Chris Morgan <chmorgan@gmail.com>
0453073
Date: Sat, 21 Mar 2015 20:47:46 -0400
0453073
Subject: [PATCH] man: add journal-remote.conf(5)
0453073
0453073
(cherry picked from commit eaa5251d9167027275d8275862e23e0b7dc8866e)
0453073
---
0453073
 Makefile-man.am                |   7 +++
0453073
 man/journal-remote.conf.xml    | 114 +++++++++++++++++++++++++++++++++++++++++
0453073
 man/systemd-journal-remote.xml |   1 +
0453073
 3 files changed, 122 insertions(+)
0453073
 create mode 100644 man/journal-remote.conf.xml
0453073
0453073
diff --git a/Makefile-man.am b/Makefile-man.am
0453073
index d0fb9aa1ae..28e1007c38 100644
0453073
--- a/Makefile-man.am
0453073
+++ b/Makefile-man.am
0453073
@@ -1330,14 +1330,20 @@ endif
0453073
 
0453073
 if HAVE_MICROHTTPD
0453073
 MANPAGES += \
0453073
+	man/journal-remote.conf.5 \
0453073
 	man/systemd-journal-gatewayd.service.8 \
0453073
 	man/systemd-journal-remote.8 \
0453073
 	man/systemd-journal-upload.8
0453073
 MANPAGES_ALIAS += \
0453073
+	man/journal-remote.conf.d.5 \
0453073
 	man/systemd-journal-gatewayd.8 \
0453073
 	man/systemd-journal-gatewayd.socket.8
0453073
+man/journal-remote.conf.d.5: man/journal-remote.conf.5
0453073
 man/systemd-journal-gatewayd.8: man/systemd-journal-gatewayd.service.8
0453073
 man/systemd-journal-gatewayd.socket.8: man/systemd-journal-gatewayd.service.8
0453073
+man/journal-remote.conf.d.html: man/journal-remote.conf.html
0453073
+	$(html-alias)
0453073
+
0453073
 man/systemd-journal-gatewayd.html: man/systemd-journal-gatewayd.service.html
0453073
 	$(html-alias)
0453073
 
0453073
@@ -1634,6 +1640,7 @@ EXTRA_DIST += \
0453073
 	man/hostname.xml \
0453073
 	man/hostnamectl.xml \
0453073
 	man/hwdb.xml \
0453073
+	man/journal-remote.conf.xml \
0453073
 	man/journalctl.xml \
0453073
 	man/journald.conf.xml \
0453073
 	man/kernel-command-line.xml \
0453073
diff --git a/man/journal-remote.conf.xml b/man/journal-remote.conf.xml
0453073
new file mode 100644
0453073
index 0000000000..a7b2227182
0453073
--- /dev/null
0453073
+++ b/man/journal-remote.conf.xml
0453073
@@ -0,0 +1,114 @@
0453073
+ 
0453073
+
0453073
+  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0453073
+
0453073
+
0453073
+  This file is part of systemd.
0453073
+
0453073
+  Copyright 2015 Chris Morgan
0453073
+
0453073
+  systemd is free software; you can redistribute it and/or modify it
0453073
+  under the terms of the GNU Lesser General Public License as published by
0453073
+  the Free Software Foundation; either version 2.1 of the License, or
0453073
+  (at your option) any later version.
0453073
+
0453073
+  systemd is distributed in the hope that it will be useful, but
0453073
+  WITHOUT ANY WARRANTY; without even the implied warranty of
0453073
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0453073
+  Lesser General Public License for more details.
0453073
+
0453073
+  You should have received a copy of the GNU Lesser General Public License
0453073
+  along with systemd; If not, see <http://www.gnu.org/licenses/>.
0453073
+-->
0453073
+
0453073
+
0453073
+          xmlns:xi="http://www.w3.org/2001/XInclude">
0453073
+  <refentryinfo>
0453073
+    <title>journal-remote.conf</title>
0453073
+    <productname>systemd</productname>
0453073
+
0453073
+    <authorgroup>
0453073
+      <author>
0453073
+        <contrib>Developer</contrib>
0453073
+        <firstname>Chris</firstname>
0453073
+        <surname>Morgan</surname>
0453073
+        <email>chmorgan@gmail.com</email>
0453073
+      </author>
0453073
+    </authorgroup>
0453073
+  </refentryinfo>
0453073
+
0453073
+  <refmeta>
0453073
+    <refentrytitle>journal-remote.conf</refentrytitle>
0453073
+    <manvolnum>5</manvolnum>
0453073
+  </refmeta>
0453073
+
0453073
+  <refnamediv>
0453073
+    <refname>journal-remote.conf</refname>
0453073
+    <refname>journal-remote.conf.d</refname>
0453073
+    <refpurpose>Journal remote service configuration files</refpurpose>
0453073
+  </refnamediv>
0453073
+
0453073
+  <refsynopsisdiv>
0453073
+    <para><filename>/etc/systemd/journal-remote.conf</filename></para>
0453073
+    <para><filename>/etc/systemd/journald.conf.d/*.conf</filename></para>
0453073
+    <para><filename>/run/systemd/journald.conf.d/*.conf</filename></para>
0453073
+    <para><filename>/usr/lib/systemd/journald.conf.d/*.conf</filename></para>
0453073
+  </refsynopsisdiv>
0453073
+
0453073
+  <refsect1>
0453073
+    <title>Description</title>
0453073
+
0453073
+    <para>These files configure various parameters of the systemd-remote-journal
0453073
+    application,
0453073
+    <citerefentry><refentrytitle>systemd-journal-remote</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
0453073
+  </refsect1>
0453073
+
0453073
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
0453073
+
0453073
+  <refsect1>
0453073
+    <title>Options</title>
0453073
+
0453073
+    <para>All options are configured in the
0453073
+    <literal>[Remote]</literal> section:</para>
0453073
+
0453073
+    <variablelist>
0453073
+
0453073
+      <varlistentry>
0453073
+        <term><varname>SplitMode=</varname></term>
0453073
+
0453073
+        <listitem><para>One of <literal>host</literal> or <literal>none</literal>.
0453073
+        </para></listitem>
0453073
+      </varlistentry>
0453073
+
0453073
+      <varlistentry>
0453073
+        <term><varname>ServerKeyFile=</varname></term>
0453073
+
0453073
+        <listitem><para>SSL key in PEM format</para></listitem>
0453073
+      </varlistentry>
0453073
+
0453073
+      <varlistentry>
0453073
+        <term><varname>ServerCertificateFile=</varname></term>
0453073
+
0453073
+        <listitem><para>SSL CA certificate in PEM format.</para></listitem>
0453073
+      </varlistentry>
0453073
+
0453073
+      <varlistentry>
0453073
+        <term><varname>TrustedCertificateFile=</varname></term>
0453073
+
0453073
+        <listitem><para>SSL CA certificate.</para></listitem>
0453073
+      </varlistentry>
0453073
+
0453073
+    </variablelist>
0453073
+
0453073
+  </refsect1>
0453073
+
0453073
+  <refsect1>
0453073
+      <title>See Also</title>
0453073
+      <para>
0453073
+        <citerefentry><refentrytitle>systemd-journal-remote</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
0453073
+        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
0453073
+        <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
0453073
+      </para>
0453073
+  </refsect1>
0453073
+
0453073
+</refentry>
0453073
diff --git a/man/systemd-journal-remote.xml b/man/systemd-journal-remote.xml
0453073
index 2687662a14..d5bda635c4 100644
0453073
--- a/man/systemd-journal-remote.xml
0453073
+++ b/man/systemd-journal-remote.xml
0453073
@@ -310,6 +310,7 @@ systemd-journal-remote --url http://some.host:19531/
0453073
       <citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
0453073
       <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
0453073
       <citerefentry><refentrytitle>systemd-journal-gatewayd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
0453073
+      <citerefentry><refentrytitle>journal-remote.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
0453073
     </para>
0453073
   </refsect1>
0453073
 </refentry>