Skip to content

Commit

Permalink
Fix (service): update ExecReload command for postfix.service to inclu…
Browse files Browse the repository at this point in the history
…de environment file
  • Loading branch information
stephdl committed Nov 21, 2024
1 parent 468c854 commit 11de73d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imageroot/systemd/user/postfix.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11de73d

Please sign in to comment.