diff options
author | drebs <drebs@riseup.net> | 2017-08-30 12:45:37 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-08-31 10:48:17 -0300 |
commit | 5c2a612aec7919c4935d3dcdf666642beaa74379 (patch) | |
tree | 0217d1aed4f3c1c2974a160942e8be0291123771 /setup.py | |
parent | a5c77dcbc875d001f2a0ffba3249537f58556897 (diff) |
[feat] get config file name from environment
For tests, we may want to configure the server with non-default options,
and the easiest way to do this is by creating a configuration file in
a temporary directory and passing the file name by means of an
environment variable.
This commit changes the server config file loading scheme to account for
a variable called SOLEDAD_SERVER_CONFIG_FILE. If that variable is set,
the configuration is read from the file pointed by it. Otherwise,
/etc/soledad/soledad-server.conf is used.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions