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
This commit is contained in:
missytake
2025-09-25 09:00:26 +02:00
committed by GitHub
parent c56805211f
commit 44ab006dca

View File

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