From 11de73d5db79398a78ab522189ab3f298b4d4a3c Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Thu, 21 Nov 2024 16:11:48 +0100 Subject: [PATCH] Fix (service): update ExecReload command for postfix.service to include environment file --- imageroot/systemd/user/postfix.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imageroot/systemd/user/postfix.service b/imageroot/systemd/user/postfix.service index 7a444329..cd805fb3 100644 --- a/imageroot/systemd/user/postfix.service +++ b/imageroot/systemd/user/postfix.service @@ -28,7 +28,8 @@ ExecStart=/usr/bin/podman run \ ${MAIL_POSTFIX_IMAGE} ExecStop=/usr/bin/podman stop --ignore --cidfile %t/postfix.ctr-id -t 60 ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/postfix.ctr-id -ExecReload=runagent /usr/bin/podman exec --env=POSTFIX_* %N reload-config +ExecReload=runagent discover-services +ExecReload=runagent /usr/bin/podman exec --env-file=discovery.env --env=POSTFIX_* %N reload-config PIDFile=%t/postfix.pid Type=forking SyslogIdentifier=%N