[global]
; The name given to identify this gateway instance. If the database is shared between multiple gateways, this name MUST be unique across these gateways.
; GatewayName = waarp-gateway

[paths]
; The root directory of the gateway. By default, it is the working directory of the process.
GatewayHome = data

; The directory for all incoming files.
; DefaultInDir = in

; The directory for all outgoing files.
; DefaultOutDir = out

; The directory for all running transfer files.
; DefaultTmpDir = tmp

; The permissions of the files created by the gateway.
; FilePermissions = 0640

; The permissions of the directories created by the gateway.
; DirectoryPermissions = 0750

; DEPRECATED, use DefaultInDir instead
; InDirectory =

; DEPRECATED, use DefaultOutDir instead
; OutDirectory =

; DEPRECATED, use DefaultTmpDir instead
; WorkDirectory =

[log]
; All messages with a severity above this level will be logged. Possible values are DEBUG, INFO, WARNING, ERROR and CRITICAL.
; Level = INFO

; The path to the file where the logs must be written. Special values 'stdout', 'stderr' and 'syslog' log respectively to the standard output, standard error output, and to the syslog daemon
LogTo = log/gatewayd.log

; If LogTo is set on 'syslog', the logs will be written to this facility.
; SyslogFacility = local0

[admin]
; The address used by the admin interface.
; Host = 0.0.0.0

; The port used by the admin interface. If the port is 0, a random free port will automatically be chosen.
; Port = 8080

; If set to true, the web admin interface will be disabled.
; DisableWebUI = false

; Path of the TLS certificate for the admin interface.
; TLSCert =

; Path of the key of the TLS certificate.
; TLSKey =

; TLSPassphrase =

[database]
; String of the RDBMS used for the gateway database. Possible values: sqlite, mysql, postgresql
; Type = sqlite

; Address of the database
Address = data/db/waarp-gateway.db

; The name of the database
; String =

; The name of the gateway database user
; User =

; The password of the gateway database user
; Password =

; Path of the database TLS certificate file.
; TLSCert =

; Path of the key of the TLS certificate file.
; TLSKey =

; The path to the file containing the passphrase used to encrypt account passwords using AES
AESPassphrase = etc/passphrase.aes

[controller]
; The frequency at which the database will be probed for new transfers
; Delay = 5s

; The maximum number of concurrent incoming transfers allowed on the gateway (0 = unlimited).
; MaxTransferIn = 0

; The maximum number of concurrent outgoing transfers allowed on the gateway (0 = unlimited).
; MaxTransferOut = 0

