From 6401bbb32c0eb6c67d9cadfb63d6a7dbdf7ad595 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 10 Jan 2026 19:13:51 +0100 Subject: [PATCH] fix: properly make sure that postfix gets restarted on failure --- cmdeploy/src/cmdeploy/postfix/deployer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/postfix/deployer.py b/cmdeploy/src/cmdeploy/postfix/deployer.py index 421a44ef..70ae0e85 100644 --- a/cmdeploy/src/cmdeploy/postfix/deployer.py +++ b/cmdeploy/src/cmdeploy/postfix/deployer.py @@ -65,7 +65,7 @@ class PostfixDeployer(Deployer): restart_conf = files.put( name="postfix: restart automatically on failure", src=get_resource("service/10_restart.conf"), - dest="/etc/systemd/system/dovecot.service.d/10_restart.conf", + dest="/etc/systemd/system/postfix.service.d/10_restart.conf", ) self.daemon_reload = restart_conf.changed self.need_restart = need_restart