Skip to content

Conversation

@pecharmin
Copy link
Collaborator

@pecharmin pecharmin commented Dec 2, 2021

As a system administrator I would like to apply configuration changed for postfix by reloading it.

Before this PR, puppet restarts the postfix service which leads to terminated connections for clients on config changes.

Only in rare situations a restart of postfix is required to make changes effectiv: http://www.postfix.org/postconf.5.html

Changing the restart command to reload is also non-breaking as puppet starts a stopped service on notification by other/depending resources.

The default restart command is using systemd as it's the default service management on modern systems.
This may be has to be reworked when rebasing babiel/puppet-postfix on bodgit/puppet-postfix to bring this improvement to upstream, but at the moment both projects diverge a lot which will require additional work in the future.

@pecharmin pecharmin merged commit edbb763 into master Dec 2, 2021
@pecharmin
Copy link
Collaborator Author

Feature will be merged into upstream by bodgit#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants