Commit edbb763
authored
Merge pull request #2 from babiel/ape_service_reload
feat: Reload postfix config without terminating connections
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.2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
0 commit comments