diff --git a/cmdeploy/src/cmdeploy/cmdeploy.py b/cmdeploy/src/cmdeploy/cmdeploy.py index 91db914a..59232057 100644 --- a/cmdeploy/src/cmdeploy/cmdeploy.py +++ b/cmdeploy/src/cmdeploy/cmdeploy.py @@ -331,7 +331,7 @@ def add_config_option(parser): "--config", dest="inipath", action="store", - default=Path("chatmail.ini"), + default=Path(os.environ.get("CHATMAIL_INI", "chatmail.ini")), type=Path, help="path to the chatmail.ini file", )