1<?xml version='1.0'?> <!--*-nxml-*-->
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
5
6<refentry id="journal-upload.conf" conditional='HAVE_MICROHTTPD'
7          xmlns:xi="http://www.w3.org/2001/XInclude">
8  <refentryinfo>
9    <title>journal-upload.conf</title>
10    <productname>systemd</productname>
11  </refentryinfo>
12
13  <refmeta>
14    <refentrytitle>journal-upload.conf</refentrytitle>
15    <manvolnum>5</manvolnum>
16  </refmeta>
17
18  <refnamediv>
19    <refname>journal-upload.conf</refname>
20    <refname>journal-upload.conf.d</refname>
21    <refpurpose>Configuration files for the journal upload service</refpurpose>
22  </refnamediv>
23
24  <refsynopsisdiv>
25    <para><filename>/etc/systemd/journal-upload.conf</filename></para>
26    <para><filename>/etc/systemd/journal-upload.conf.d/*.conf</filename></para>
27    <para><filename>/run/systemd/journal-upload.conf.d/*.conf</filename></para>
28    <para><filename>/usr/lib/systemd/journal-upload.conf.d/*.conf</filename></para>
29  </refsynopsisdiv>
30
31  <refsect1>
32    <title>Description</title>
33
34    <para>These files configure various parameters of
35    <citerefentry><refentrytitle>systemd-journal-upload.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
36    See
37    <citerefentry><refentrytitle>systemd.syntax</refentrytitle><manvolnum>7</manvolnum></citerefentry>
38    for a general description of the syntax.</para>
39  </refsect1>
40
41  <xi:include href="standard-conf.xml" xpointer="main-conf" />
42
43  <refsect1>
44    <title>Options</title>
45
46    <para>All options are configured in the [Upload] section:</para>
47
48    <variablelist class='config-directives'>
49      <varlistentry>
50        <term><varname>URL=</varname></term>
51
52        <listitem><para>The URL to upload the journal entries to. See the description
53        of <option>--url=</option> option in
54        <citerefentry><refentrytitle>systemd-journal-upload</refentrytitle><manvolnum>8</manvolnum></citerefentry>
55        for the description of possible values. There is no default value, so either this
56        option or the command-line option must be always present to make an upload.</para></listitem>
57      </varlistentry>
58
59      <varlistentry>
60        <term><varname>ServerKeyFile=</varname></term>
61
62        <listitem><para>SSL key in PEM format.</para></listitem>
63      </varlistentry>
64
65      <varlistentry>
66        <term><varname>ServerCertificateFile=</varname></term>
67
68        <listitem><para>SSL CA certificate in PEM format.</para></listitem>
69      </varlistentry>
70
71      <varlistentry>
72        <term><varname>TrustedCertificateFile=</varname></term>
73
74        <listitem><para>SSL CA certificate.</para></listitem>
75      </varlistentry>
76
77      <varlistentry>
78        <term><varname>NetworkTimeoutSec=</varname></term>
79
80        <listitem><para>When network connectivity to the server is lost, this option
81        configures the time to wait for the connectivity to get restored. If the server is
82        not reachable over the network for the configured time, <command>systemd-journal-upload</command>
83        exits. Takes a value in seconds (or in other time units if suffixed with "ms", "min", "h", etc).
84        For details, see <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
85        </para></listitem>
86      </varlistentry>
87
88    </variablelist>
89
90  </refsect1>
91
92  <refsect1>
93      <title>See Also</title>
94      <para>
95        <citerefentry><refentrytitle>systemd-journal-upload.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
96        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
97        <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
98      </para>
99  </refsect1>
100
101</refentry>
102