apt-dater.conf

Langue: en

Version: Jule 7, 2008 (ubuntu - 08/07/09)

Section: 5 (Format de fichier)

NAME

apt-dater.conf - configuration file of apt-dater(8)

SYNOPSIS

[Section]
parameter=value
parameter=value;value;...;

DESCRIPTION

The file apt-dater.conf is the configuration file for apt-dater(8). apt-dater(8) is a program to manage package updats on a large number of remote hosts using SSH. This man page descripes briefly the parameters of the file apt-dater.conf. The default location of this file is $XDG_CONFIG_HOME/apt-dater/hosts.conf.

The syntax of the configuration file is the syntax of glib keyfiles.

OPTIONS

Section [Paths]

HostsFile=$XDG_CONFIG_HOME/apt-dater/hosts.conf

The location of the file contains all host which will be managed with apt-dater. (optional)

StatsDir=$XDG_DATA_HOME/apt-dater

The location of the directory which contains the status files of any host. (optional)

Section [Screen]

RCFile=$XDG_CONFIG_HOME/apt-dater/screenrc

Location of screen(1) config file. (optional)

Title=%m # %u@%h:%p

Template for screen titles using string escapes. (optional)

Section [SSH]

Cmd=/usr/bin/ssh

The location of ssh-client binary.

SFTPCmd

The command to initiate a file transfer e.g. /usr/bin/mc /#sh:%u@%h:C/

OptionalCmdFlags

Additional ssh-client command flags, which will be appended.

DefaultUser

The default user which will be used for remote login.

DefaulPort=22

The default port to connect to the ssh server.

Section [Commands]

CmdRefresh=sudo aptitude update && sudo aptitude -s -y -v upgrade

The command which will be used to refresh the status of the managed host.

CmdUpgrade=sudo aptitude upgrade

The command which will be used to intitate a upgrade of a managed host.

CmdInstall=sudo aptitude install %s

The command which will be used to update a single package. %s will be replaced by the name of the package.

Section [Appearance]

Colors

Set your own color style of the ui components. To highlight colors you can use the bright* keyword. Example: Colors=menu brightgreen blue;status brightgreen blue;selector black red;

   Components are:

default
menu
status
selector
hoststatus
query
input
Colors are:

default
black
cyan
green
magenta
red
white
yellow

ENVIRONMENT

MAINTAINER

The maintainer's name. If not set, the GECOS entry for the current user will be used. This environment variable is forwarded to the remote hosts and used by debtrack..RE

STRING ESCAPES

apt-dater(8) provides an string escape mechanism. The escape character is '%'.


    .PP Table 1. List of supported escapes.

escape replaced by
% escape character
h hostname
m maintainer name
p SSH port number
u SSH username

FILES

apt-dater.conf

The configuration file of apt-dater.

hosts.conf

Contains all hosts you would like to manage.

SEE ALSO

apt-dater(8), aptitude(1), apt-get(1), debtrack, screen(1), ssh(1), [1]XDG Base Directory Specification.

Copyright © 2008 IBH IT-Service GmbH [http://www.ibh.de/]

REFERENCES

1. XDG Base Directory Specification
http://www.freedesktop.org/Standards/basedir-spec