Ensure mailman3-web gets restarted on config change.
This commit is contained in:
parent
f05e731a7a
commit
7b679e207d
|
@ -17,6 +17,17 @@ mailman3_conf:
|
|||
- group: list
|
||||
- mode: 0640
|
||||
- template: jinja
|
||||
- require:
|
||||
- pkg: mailman3
|
||||
service.running:
|
||||
- name: mailman3
|
||||
- restart: true
|
||||
- watch:
|
||||
- file: mailman3_conf
|
||||
|
||||
mailman3_web_conf:
|
||||
file.managed:
|
||||
- names:
|
||||
- /etc/mailman3/mailman-web.py:
|
||||
- source: salt://mailman/etc/mailman-web.py
|
||||
- group: www-data
|
||||
|
@ -26,10 +37,10 @@ mailman3_conf:
|
|||
- pkg: mailman3
|
||||
- sls: apache
|
||||
service.running:
|
||||
- name: mailman3
|
||||
- name: mailman3-web
|
||||
- restart: true
|
||||
- watch:
|
||||
- file: mailman3_conf
|
||||
- file: mailman3_web_conf
|
||||
|
||||
mailman3_exim4_conf:
|
||||
file.recurse:
|
||||
|
|
Loading…
Reference in New Issue