Fichier de configuration

Waarp Manager prend sa configuration dans le fichier /etc/waarp- manager/waarp-manager.ini si le il a été installé à partir de packages, et sinon, dans le dossier etc de l’archive autonome.

Divisé en plusieurs sections, il permet de modifier le comportement du démon web, de paramétrer les accès à la base de données et de définir certains éléments de l’interaction avec le client Waarp R66 utilisé par l’application :

[log]
; Write logs to LOGFILE. iIf LOGFILE has the value syslog, it writes to the hosts syslog daemon
LogTo = stdout

; Logs only messages with a criticity of at least LEVEL
LogLevel = INFO

; If LogTo is set to syslog, the given facility will be used (defaults to daemon)
SysLogFacility = local0

; Logs SQL queries
; LogSqlStatements = false

; Logs HTTP requests
; LogHttpRequests = false

[activation]
; The activation key
; KeyFile =

[locale]
; The default language of the application
Language = en-us

; The timezone used to report aggregation
Timezone = UTC

[server]
; bind to HOST address
Address = 127.0.0.1

; use PORT
Port = 8080

[db]
; The host to connect to
Host = localhost

; The port to bind to
Port = 5432

; Whether or not to use SSL
; Ssl = false

; The user to sign in as
; User =

; The user's password
; Password =

; The name of the database to use
; Name =

[r66]
; The DES key to use when encrypting passwords
; DesKey =

; The directory where generated conf archives must be written
; OutDir =

; The command to use to deploy the configuration to the server
; R66Cmd =

; The template to use to deploy the configuration to the server
; DiffusionRule =

; The name of the Waarp R66 client that Waarp Manager uses
; ClientName =

; The path to the file containing the key to sign REST requests
; RestSigningKey =

; The path to the file containing the certification chain of Waarp R66 Servers (PEM format)
; RootCA =

; The period to wait for answers for REST requests
RestTimeout = 5s

; The delay between two queries to update a server's transfer history
HistoryRefresh = 5m0s

; When a server history is refreshed, at most LIMIT time is asked to R66 servers
HistoryRefreshLimit = 720h0m0s