source: box/trunk/docs/docbook/bbstored.conf.xml @ 2474

Revision 2474, 6.0 KB checked in by chris, 3 years ago (diff)

Reorganise docs in trunk to match distribution layout, which is cleaner,
and makes Makefile work on distributions and trunk equally.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<refentry version="5.0" xmlns="http://docbook.org/ns/docbook"
3          xmlns:xlink="http://www.w3.org/1999/xlink"
4          xmlns:xi="http://www.w3.org/2001/XInclude"
5          xmlns:svg="http://www.w3.org/2000/svg"
6          xmlns:m="http://www.w3.org/1998/Math/MathML"
7          xmlns:html="http://www.w3.org/1999/xhtml"
8          xmlns:db="http://docbook.org/ns/docbook">
9  <refmeta>
10    <refentrytitle>bbstored.conf</refentrytitle>
11
12    <manvolnum>5</manvolnum>
13
14    <refmiscinfo class="manual">Box Backup</refmiscinfo>
15
16    <refmiscinfo class="source">Box Backup</refmiscinfo>
17
18    <refmiscinfo class="version">0.11</refmiscinfo>
19  </refmeta>
20
21  <refnamediv>
22    <refname>bbstored.conf</refname>
23
24    <refpurpose>Box Backup store daemon configuration file</refpurpose>
25  </refnamediv>
26
27  <refsynopsisdiv>
28    <cmdsynopsis>
29      <command>/etc/box/bbstored.conf</command>
30    </cmdsynopsis>
31  </refsynopsisdiv>
32
33  <refsection>
34    <title>Description</title>
35
36    <para>The following configuration options are valid:</para>
37
38    <variablelist>
39      <varlistentry>
40        <term><varname>RaidFileConf</varname></term>
41
42        <listitem>
43          <para>Specifies the path to the <citerefentry>
44              <refentrytitle>raidfile.conf</refentrytitle>
45
46              <manvolnum>5</manvolnum>
47            </citerefentry>. This is normally
48          <filename>/etc/box/raidfile.conf</filename>.</para>
49        </listitem>
50      </varlistentry>
51
52      <varlistentry>
53        <term><varname>AccountDatabase</varname></term>
54
55        <listitem>
56          <para>Specifies the path to the account database created by
57          <citerefentry>
58              <refentrytitle>bbstoreaccounts</refentrytitle>
59
60              <manvolnum>8</manvolnum>
61            </citerefentry>. This is usually
62          <filename>/etc/box/bbstored/accounts.txt</filename>.</para>
63        </listitem>
64      </varlistentry>
65
66      <varlistentry>
67        <term><varname>ExtendedLogging</varname></term>
68
69        <listitem>
70          <para>Specifies whether extended logging should be enabled to show
71          what commands are being received from clients.</para>
72        </listitem>
73      </varlistentry>
74
75      <varlistentry>
76        <term><varname>TimeBetweenHousekeeping</varname></term>
77
78        <listitem>
79          <para>How long between scanning for files which need
80          deleting.</para>
81        </listitem>
82      </varlistentry>
83
84      <varlistentry>
85        <term><varname>Server</varname></term>
86
87        <listitem>
88          <para>These options relate to the actual daemon.<variablelist>
89              <varlistentry>
90                <term><varname>PidFile</varname></term>
91
92                <listitem>
93                  <para>The location of the pidfile, where the daemon's
94                  process ID is kept.</para>
95                </listitem>
96              </varlistentry>
97
98              <varlistentry>
99                <term><varname>User</varname></term>
100
101                <listitem>
102                  <para>The user to run as.</para>
103                </listitem>
104              </varlistentry>
105
106              <varlistentry>
107                <term><varname>ListenAddresses</varname></term>
108
109                <listitem>
110                  <para>The interface addresses to listen on. Hostnames may be
111                  used instead of IP addresses. The format is:
112                  <option>inet:hostname</option> or
113                  <option>inet:10.0.0.1</option>.</para>
114                </listitem>
115              </varlistentry>
116
117              <varlistentry>
118                <term><varname>CertificateFile</varname></term>
119
120                <listitem>
121                  <para>The path to the server's public certificate.</para>
122                </listitem>
123              </varlistentry>
124
125              <varlistentry>
126                <term><varname>PrivateKeyFile</varname></term>
127
128                <listitem>
129                  <para>The path to the server's private key. This should only
130                  be readable by root and/or the <option>User</option>.</para>
131                </listitem>
132              </varlistentry>
133
134              <varlistentry>
135                <term><varname>TrustedCAsFile</varname></term>
136
137                <listitem>
138                  <para>The Certificate Authority created by <citerefentry>
139                      <refentrytitle>bbstored-certs</refentrytitle>
140
141                      <manvolnum>8</manvolnum>
142                    </citerefentry>.</para>
143                </listitem>
144              </varlistentry>
145            </variablelist></para>
146        </listitem>
147      </varlistentry>
148    </variablelist>
149  </refsection>
150
151  <refsection>
152    <title>Examples</title>
153
154    <para>The following is an example bbstored.conf:</para>
155
156    <para><programlisting>RaidFileConf = /etc/box/raidfile.conf
157AccountDatabase = /etc/box/bbstored/accounts.txt
158
159TimeBetweenHousekeeping = 900
160
161Server
162{
163  PidFile = /var/run/bbstored.pid
164  User = _bbstored
165  ListenAddresses = inet:server.example.com
166  CertificateFile = /etc/box/bbstored/server.example.com-cert.pem
167  PrivateKeyFile = /etc/box/bbstored/server.example.com-key.pem
168  TrustedCAsFile = /etc/box/bbstored/clientCA.pem
169}</programlisting></para>
170  </refsection>
171
172  <refsection>
173    <title>Files</title>
174
175    <para><filename>/etc/box/bbstored.conf</filename></para>
176  </refsection>
177
178  <refsection>
179    <title>See Also</title>
180
181    <para><citerefentry>
182        <refentrytitle>bbstored</refentrytitle>
183
184        <manvolnum>8</manvolnum>
185      </citerefentry>, <citerefentry>
186        <refentrytitle>bbstored-config</refentrytitle>
187
188        <manvolnum>8</manvolnum>
189      </citerefentry>, <citerefentry>
190        <refentrytitle>raidfile-config</refentrytitle>
191
192        <manvolnum>8</manvolnum>
193      </citerefentry></para>
194  </refsection>
195
196  <refsection>
197    <title>Authors</title>
198
199    <para><author>
200        <personname>Ben Summers</personname>
201      </author></para>
202
203    <para><author>
204        <personname>Per Thomsen</personname>
205      </author></para>
206
207    <para><author>
208        <personname>James O'Gorman</personname>
209      </author></para>
210  </refsection>
211</refentry>
Note: See TracBrowser for help on using the repository browser.