ansible/roles/mlmmj/handlers/main.yml

21 lines
523 B
YAML
Raw Permalink Normal View History

2021-02-01 02:45:58 +01:00
---
- name: Restart Postfix
command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/postfix
2021-02-01 02:45:58 +01:00
- name: Reload Postfix
command: s6-svc -h {{ s6_scan_dir }}/postfix
2021-02-01 02:45:58 +01:00
- name: Rebuild mlmmj virtual aliases
command: postmap hash:/usr/local/etc/postfix/virtual_mlmmj
- name: Rebuild mlmmj transport map
command: postmap hash:/usr/local/etc/postfix/transport_mlmmj
- name: Reload s6-rc
service:
name: s6-rc
state: reloaded
- name: Restart mlmmj-maintd
command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/mlmmj-maintd