1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
7
Process this file with an XSLT processor: `xsltproc \
8
-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
9
manpages/docbook.xsl manpage.dbk'. A manual page
10
<package>.<section> will be generated. You may view the
11
manual page with: nroff -man <package>.<section> | less'. A
12
typical entry in a Makefile or Makefile.am is:
14
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
18
manpage.1: manpage.dbk
21
The xsltproc binary is found in the xsltproc package. The
22
XSL files are in docbook-xsl. Please remember that if you
23
create the nroff version in one of the debian/rules file
24
targets (such as build), you will need to include xsltproc
25
and docbook-xsl in your Build-Depends control field.
29
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
30
<!ENTITY dhfirstname "<firstname>Thomas</firstname>">
31
<!ENTITY dhsurname "<surname>Liske</surname>">
32
<!-- Please adjust the date whenever revising the manpage. -->
33
<!ENTITY dhdate "<date>October 22, 2014</date>">
34
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
35
allowed: see man(7), man(1). -->
36
<!ENTITY dhsection "<manvolnum>5</manvolnum>">
37
<!ENTITY dhemail "<email>lliske@ibh.de</email>">
38
<!ENTITY dhusername "Thomas Liske">
39
<!ENTITY dhucpackage "<refentrytitle>APT-DATER</refentrytitle>">
40
<!ENTITY dhpackage "apt-dater">
42
<!ENTITY debian "<productname>Debian</productname>">
43
<!ENTITY gnu "<acronym>GNU</acronym>">
44
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
47
<refentry class="manual">
49
<productname>apt-dater</productname>
51
<personname>Thomas Liske</personname>
52
<email>liske@ibh.de</email>
53
<contrib>maintainer</contrib>
58
<year>2008-2014</year>
59
<holder>IBH IT-Service GmbH [<ulink url="https://www.ibh.de/">https://www.ibh.de/</ulink>]</holder>
64
<firstname>Andre</firstname>
65
<surname>Ellguth</surname>
66
<contrib>ex-maintainer</contrib>
71
<refmiscinfo class="source">apt-dater</refmiscinfo>
72
<refmiscinfo class="manual">Config File Manual</refmiscinfo>
78
<refname>&dhpackage;.config</refname>
80
<refpurpose>configuration file of &dhpackage;(8)</refpurpose>
86
<para><symbol>Group</symbol>:
93
<para><symbol>parameter</symbol>=<replaceable>value</replaceable>;</para>
104
<title>DESCRIPTION</title>
106
<para>The file <replaceable>&dhpackage;.config</replaceable> is the
107
configuration file for <command>&dhpackage;</command>(8).
108
<command>&dhpackage;</command>(8) is a program to manage package updats
109
on a large number of remote hosts using SSH.
110
This man page descripes briefly the parameters of the file
111
<replaceable>&dhpackage;.config</replaceable>.
112
The default location of this file is <replaceable>$XDG_CONFIG_HOME/apt-dater/apt-dater.config</replaceable>.
115
The configuration file is parsed using libconfig. Please be aware that config statements are case sensitive.
116
Look at libconfig's documentation for more details about the required file syntax.
120
<title>OPTIONS</title>
123
<title>Group '<symbol>Paths</symbol>'</title>
127
<term><symbol>HostsFile</symbol>="<replaceable>$XDG_CONFIG_HOME/apt-dater/hosts.config</replaceable>";</term>
129
<para>The location of the file contains all host which will be managed with <command>&dhpackage;</command>. (optional)</para>
133
<term><symbol>StatsDir</symbol>="<replaceable>$XDG_DATA_HOME/apt-dater</replaceable>";</term>
135
<para>The location of the directory which contains the status files of any host. (optional)</para>
142
<title>Group '<symbol>Screen</symbol>'</title>
146
<term><symbol>RCFile</symbol>="<replaceable>$XDG_CONFIG_HOME/apt-dater/screenrc</replaceable>";</term>
148
<para>Location of screen(1) config file. (optional)</para>
152
<term><symbol>Title</symbol>="<replaceable>%m # %u@%h:%p</replaceable>";</term>
154
<para>Template for screen titles using string escapes. (optional)</para>
158
<term><symbol>NoDumps</symbol>=<replaceable>false</replaceable>;</term>
160
<para>Enables/disables support of screen dumps. (optional)</para>
164
<term><symbol>QueryMaintainer</symbol>=<replaceable>0</replaceable>;</term>
166
<para>If set to 1, apt-dater will ask for the maintainers name on startup. If set to 2, apt-dater will only ask if no MAINTAINER environment variable is set.</para>
173
<title>Group '<symbol>SSH</symbol>'</title>
177
<term><symbol>Cmd</symbol>="<replaceable>/usr/bin/ssh</replaceable>";</term>
179
<para>The location of ssh-client binary.</para>
183
<term><symbol>SFTPCmd</symbol></term>
185
<para>The command to initiate sftp file transfer e.g. <command>/usr/bin/sftp</command></para>
189
<term><symbol>OptionalCmdFlags</symbol></term>
191
<para>Additional ssh-client command flags, which will be appended.</para>
195
<term><symbol>SpawnAgent</symbol>=<replaceable>false</replaceable>;</term>
197
<para>If enabled, apt-dater tries to spawn ssh-agent(1) if none is already running. ssh-add(1) will be called to load your private keys.</para>
201
<term><symbol>AddKeys</symbol></term>
203
<para>List of private keys which should be loaded when apt-dater calls ssh-add(1).</para>
210
<title>Group '<symbol>Commands</symbol>'</title>
214
<term><symbol>CmdRefresh</symbol>="<replaceable>apt-dater-host refresh</replaceable>";</term>
216
<para>The command which will be used to refresh the status of the managed host.</para>
220
<term><symbol>CmdUpgrade</symbol>="<replaceable>apt-dater-host upgrade</replaceable>";</term>
222
<para>The command which will be used to intitate a upgrade of a managed host.</para>
226
<term><symbol>CmdInstall</symbol>="<replaceable>apt-dater-host install %s</replaceable>";</term>
228
<para>The command which will be used to update a single package. <replaceable>%s</replaceable> will be replaced by the name of the package.</para>
235
<title>Group '<symbol>Appearance</symbol>'</title>
239
<term><symbol>Colors</symbol></term>
241
<para>Set your own color style of the ui components. To highlight colors you can use the <replaceable>bright</replaceable>* keyword.
242
Example: Colors=menu brightgreen blue;status brightgreen blue;selector black red;</para>.
243
<para>Components are:</para>
245
<varlistentry><para><symbol>default</symbol></para></varlistentry>
246
<varlistentry><para><symbol>menu</symbol></para></varlistentry>
247
<varlistentry><para><symbol>status</symbol></para></varlistentry>
248
<varlistentry><para><symbol>selector</symbol></para></varlistentry>
249
<varlistentry><para><symbol>hoststatus</symbol></para></varlistentry>
250
<varlistentry><para><symbol>query</symbol></para></varlistentry>
251
<varlistentry><para><symbol>input</symbol></para></varlistentry>
254
<para>Colors are:</para>
256
<varlistentry><para><constant>default</constant></para></varlistentry>
257
<varlistentry><para><constant>black</constant></para></varlistentry>
258
<varlistentry><para><constant>cyan</constant></para></varlistentry>
259
<varlistentry><para><constant>green</constant></para></varlistentry>
260
<varlistentry><para><constant>magenta</constant></para></varlistentry>
261
<varlistentry><para><constant>red</constant></para></varlistentry>
262
<varlistentry><para><constant>white</constant></para></varlistentry>
263
<varlistentry><para><constant>yellow</constant></para></varlistentry>
271
<title>Group '<symbol>AutoRef</symbol>'</title>
275
<term><symbol>enabled</symbol>=<replaceable>true</replaceable>;</term>
277
<para>Enabled the auto refresh feature if compiled in (see README.autoref).</para>
284
<title>Group '<symbol>Notify</symbol>'</title>
288
<term><symbol>bell</symbol>=<replaceable>true</replaceable>;</term>
290
<para>Enables user notification by terminal bell.</para>
295
<term><symbol>flash</symbol>=<replaceable>true</replaceable>;</term>
297
<para>Enables user notification by terminal flashing.</para>
304
<title>Group '<symbol>History</symbol>'</title>
308
<term><symbol>ErrPattern</symbol>="<replaceable>((?<!no )error|warning|fail)</replaceable>";</term>
311
A regular expression pattern to match the screen output. A match indicates
312
the user should be asked to review the output (using less). (Optional)</para>
317
<term><symbol>record</symbol>=<replaceable>true</replaceable>;</term>
319
<para>Enables session recording using script(1). (Optional)</para>
326
<title>Group '<symbol>Hooks</symbol>'</title>
330
<term><symbol>PreUpdate</symbol>="<replaceable>/etc/apt-dater/pre-upg.d</replaceable>";</term>
331
<term><symbol>PreRefresh</symbol>="<replaceable>/etc/apt-dater/pre-ref.d</replaceable>";</term>
332
<term><symbol>PreInstall</symbol>="<replaceable>/etc/apt-dater/pre-ins.d</replaceable>";</term>
333
<term><symbol>PreConnect</symbol>="<replaceable>/etc/apt-dater/pre-con.d</replaceable>";</term>
334
<term><symbol>PostUpdate</symbol>="<replaceable>/etc/apt-dater/post-upg.d</replaceable>";</term>
335
<term><symbol>PostRefresh</symbol>="<replaceable>/etc/apt-dater/post-ref.d</replaceable>";</term>
336
<term><symbol>PostInstall</symbol>="<replaceable>/etc/apt-dater/post-ins.d</replaceable>";</term>
337
<term><symbol>PostConnect</symbol>="<replaceable>/etc/apt-dater/post-con.d</replaceable>";</term>
340
Hooks to be run before and after an action on a host is done.
341
The values should be path names, any executable script within
342
these directories will be run by <command>run-parts</command>(8).
351
<title>STRING ESCAPES</title>
353
<command>&dhpackage;</command>(8) provides an string escape mechanism. The escape character is '%'.
356
<title>List of supported escapes.</title>
366
<td>escape character</td>
374
<td>SSH hostname used for connecting</td>
378
<td>maintainer name</td>
382
<td>SSH port number</td>
386
<td>SSH username</td>
390
<td>SSH username appended by '@', empty string if no SSH username is configured.</td>
401
<term><replaceable>apt-dater.config</replaceable></term>
403
<para>The configuration file of apt-dater.</para>
407
<term><replaceable>hosts.config</replaceable></term>
409
<para>Contains all hosts you would like to manage.</para>
415
<title>SEE ALSO</title>
417
<para>apt-dater(8), apt-get(1), debtrack, screen(1), script(1), ssh(1), <ulink url="http://www.freedesktop.org/Standards/basedir-spec">XDG Base Directory Specification</ulink>, <ulink url="http://www.hyperrealm.com/libconfig/libconfig_manual.html">libconfig documentation</ulink>.</para>