:orphan:

:py:mod:`slidge.__main__`
=========================

.. py:module:: slidge.__main__

.. autoapi-nested-parse::

   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
---------------

.. py:exception:: SigTermInterrupt




   Common base class for all non-exit exceptions.

   .. py:method:: add_note()

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


   .. py:method:: with_traceback()

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



