ansible/roles/mlmmj/handlers/main.yml

21 lines
508 B
YAML
Raw Normal View History

2021-01-31 19:45:58 -06:00
---
- 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