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

Module Contents#

exception slidge.__main__.SigTermInterrupt#

Common base class for all non-exit exceptions.

add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.