No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_monit_conf.d_gpodder 771B

123456789101112131415161718192021
  1. check process gpodder matching "gunicorn mygpo.wsgi:application"
  2. group www
  3. start program = "/bin/systemctl start gpodder"
  4. stop program = "/bin/systemctl stop gpodder"
  5. if failed port 2873 protocol http
  6. with timeout 10 seconds
  7. with retry 2
  8. then restart
  9. if 5 restarts within 5 cycles then timeout
  10. check process gpodder_worker matching "celery -A mygpo worker"
  11. group www
  12. start program = "/bin/systemctl start gpodder_worker"
  13. stop program = "/bin/systemctl stop gpodder_worker"
  14. if 5 restarts within 5 cycles then timeout
  15. check process gpodder_beat with pidfile /tmp/celerybeat.pid
  16. group www
  17. start program = "/bin/systemctl start gpodder_beat"
  18. stop program = "/bin/systemctl stop gpodder_beat"
  19. if 5 restarts within 5 cycles then timeout