-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
Description
Your setup
Formula commit hash / release tag
c0485fb 26/10/2020
Versions reports (master & minion)
not relevant
Pillar / config used
neither
Bug details
Describe the bug
Different problems about service management in this formula
- no state to make a
systemctl reload postfix
, it's only possible to make a restart, see https://github.com/saltstack-formulas/postfix-formula/blob/master/postfix/init.sls#L36 - two states in
init.sls
to manage the postfix service, one here https://github.com/saltstack-formulas/postfix-formula/blob/master/postfix/init.sls#L25 another https://github.com/saltstack-formulas/postfix-formula/blob/master/postfix/init.sls#L36 - the state L25 uses a
reload
parameter which, according to doc and also salt code, does not exist
Steps to reproduce the bug
Expected behaviour
I want to be able to make a reload not a restart of the service. It's useful for example when changing a file for mynetworks
parameter. A restart introduces a small service interruption when it's not necessary.
Attempts to fix the bug
None