Merge pull request #74 from bawuenet/postfix_reload

Reload postfix service by default.
This commit is contained in:
Javier Bértoli 2018-09-27 22:00:35 -03:00 committed by GitHub
commit a4cdd1acd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ postfix:
chroot: True chroot: True
enable_service: True enable_service: True
reload_service: True
postgrey: postgrey:
enabled: True enabled: True

View File

@ -11,6 +11,7 @@ postfix:
- service: postfix - service: postfix
service.running: service.running:
- enable: {{ salt['pillar.get']('postfix:enable_service', True) }} - enable: {{ salt['pillar.get']('postfix:enable_service', True) }}
- reload: {{ salt['pillar.get']('postfix:reload_service', True) }}
- require: - require:
- pkg: postfix - pkg: postfix
- watch: - watch: