Mercurial > libervia-pubsub
diff sat_pubsub/iidavoll.py @ 428:34bd55179e22
environment variables can now be used to set options:
if an environment variable is set using `SAT_PUBSUB_[OPTION NAME]` it will be used if not
specified directly in command line.
Options are retrieved in this order of priority:
- command line (highest priority)
- environment variable
- option set in `sat.conf`
For database options, following PostgreSQL aliases can also be used: PGUSER, PGDATABASE,
PGPASSWORD, PGHOST, PGPORT.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 09 Oct 2020 18:26:50 +0200 |
parents | ccb2a22ea0fc |
children | 074037832daf |