From eac144acdaca02f018bddde5f623fba3e8cd4ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 21 Apr 2017 11:19:36 +0200 Subject: Configuration options can be overridden by setting env values --- doc/biboumi.1.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/biboumi.1.rst b/doc/biboumi.1.rst index 3eaf235..aeeefec 100644 --- a/doc/biboumi.1.rst +++ b/doc/biboumi.1.rst @@ -35,15 +35,19 @@ details on its content. Configuration ============= -The configuration file uses a simple format of the form -``option=value``. +The configuration file uses a simple format of the form ``option=value``. + +The values from the configuration file can be overridden by environment +variables, with the name all in upper case and prefixed with "BIBOUMI_". +For example, if the environment contains “BIBOUMI_PASSWORD=blah", this will +override the value of the “password” option in the configuration file. Sending SIGUSR1 or SIGUSR2 (see kill(1)) to the process will force it to re-read the configuration and make it close and re-open the log files. You can use this to change any configuration option at runtime, or do a log rotation. -Here is a description of each possible option: +Here is a description of every possible option: hostname -------- -- cgit v1.2.3