naccyde / rpms / systemd

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