fix: properly make sure that postfix gets restarted on failure

This commit is contained in:
holger krekel
2026-01-10 19:13:51 +01:00
committed by missytake
parent 325cc7a7b4
commit 6401bbb32c

View File

@@ -65,7 +65,7 @@ class PostfixDeployer(Deployer):
restart_conf = files.put( restart_conf = files.put(
name="postfix: restart automatically on failure", name="postfix: restart automatically on failure",
src=get_resource("service/10_restart.conf"), 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.daemon_reload = restart_conf.changed
self.need_restart = need_restart self.need_restart = need_restart