From 44ab006dca1a0dcc16a0f9c10376d7502c5ce49a Mon Sep 17 00:00:00 2001 From: missytake Date: Thu, 25 Sep 2025 09:00:26 +0200 Subject: [PATCH] echobot: restart after postfix + dovecot were started (#642) * echobot: restart after postfix + dovecot were started fix #641 * cmdeploy: restart echobot only if dovecot *and* postfix were restarted --- cmdeploy/src/cmdeploy/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index 0b526010..be7932aa 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -810,6 +810,12 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None: restarted=nginx_need_restart, ) + systemd.service( + name="Restart echobot if postfix and dovecot were just started", + service="echobot.service", + restarted=postfix_need_restart and dovecot_need_restart, + ) + # This file is used by auth proxy. # https://wiki.debian.org/EtcMailName server.shell(