Sin descripción
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_mastodon 868B

12345678910111213141516171819202122
  1. check process mastodon-web matching "puma [0-9.]* \(tcp://0.0.0.0:4220\) \[mastodon\]"
  2. group social
  3. start program = "/bin/systemctl start mastodon-web"
  4. stop program = "/bin/systemctl stop mastodon-web"
  5. if failed port 4220 type tcp
  6. with timeout 10 seconds
  7. then restart
  8. if 5 restarts within 5 cycles then timeout
  9. check process mastodon-streaming matching "/home/mastodon/mastodon/streaming/index.js"
  10. group social
  11. start program = "/bin/systemctl start mastodon-streaming"
  12. stop program = "/bin/systemctl stop mastodon-streaming"
  13. if failed port 4210 type tcp
  14. with timeout 10 seconds
  15. then restart
  16. if 5 restarts within 5 cycles then timeout
  17. check process mastodon-sidekiq matching "sidekiq [0-9.]* mastodon"
  18. group social
  19. start program = "/bin/systemctl start mastodon-sidekiq"
  20. stop program = "/bin/systemctl stop mastodon-sidekiq"