ansible/roles/mlmmj/handlers/main.yml

20 lines
508 B
YAML

---
- name: Restart Postfix
command: s6-svc -wU -T 5000 -ru /run/service/postfix
- name: Reload Postfix
command: s6-svc -h /run/service/postfix
- 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 /run/service/mlmmj-maintd