cmdeploy: add config (, )

This commit is contained in:
missytake
2025-11-18 14:05:44 +01:00
committed by j4n
parent ec26ac5dbf
commit 4278799f51

View File

@@ -116,6 +116,7 @@ def _configure_dovecot(config: Config, debug: bool = False) -> (bool, bool):
# as per https://doc.dovecot.org/2.3/configuration_manual/os/ # as per https://doc.dovecot.org/2.3/configuration_manual/os/
# it is recommended to set the following inotify limits # it is recommended to set the following inotify limits
if config.change_kernel_settings:
for name in ("max_user_instances", "max_user_watches"): for name in ("max_user_instances", "max_user_watches"):
key = f"fs.inotify.{name}" key = f"fs.inotify.{name}"
if host.get_fact(Sysctl)[key] > 65535: if host.get_fact(Sysctl)[key] > 65535: