mirror of
https://gitea.0xace.cc/ansible-galaxy/monit.git
synced 2024-11-24 15:26:40 +00:00
452 B
452 B
Setup monit service
monit:
configs:
- name: bird
data: |
check process radosgw
matching "radosgw"
if does not exist for 1 cycles then exec "/usr/bin/systemctl stop bird"
check process haproxy
matching "haproxy"
if does not exist for 1 cycles then exec "/usr/bin/systemctl stop bird"
check_interval: "1"