saltstack-formulas / postfix-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
25 stars 130 forks source link

[BUG][FEATURE] service management needs improvement #117

Open daks opened 3 years ago

daks commented 3 years ago

Your setup

Formula commit hash / release tag

c0485fb345bbbdbbf96e20653f2df36d85910237 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

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

Additional context

daks commented 3 years ago

Looks like I was wrong about the reload part, it's not visible in doc or code because it's managed by mod_watch in the same state module https://docs.saltstack.com/en/latest/ref/states/all/salt.states.service.html#salt.states.service.mod_watch

fzipi commented 2 years ago

@daks Can this one be closed then?