slidge.main¶
Slidge can be configured via CLI args, environment variables and/or INI files.
To use env vars, use this convention: --home-dir
becomes HOME_DIR
.
Everything in /etc/slidge/conf.d/*
is automatically used.
To use a plugin-specific INI file, put it in another dir,
and launch slidge with -c /path/to/plugin-specific.conf
.
Use the long version of the CLI arg without the double dash prefix inside this
INI file, eg debug=true
.
An example configuration file is available at https://git.sr.ht/~nicoco/slidge/tree/master/item/dev/confs/slidge-example.ini
Exceptions¶
Common base class for all non-exit exceptions. |
Module Contents¶
- exception slidge.main.SigTermInterrupt¶
Common base class for all non-exit exceptions.