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_pgsql_deb10 331B

123456789
  1. check process postgres with pidfile /var/run/postgresql/11-main.pid
  2. group database
  3. start program = "/bin/systemctl start postgresql"
  4. stop program = "/bin/systemctl stop postgresql"
  5. if failed port 5432 protocol pgsql
  6. with timeout 10 seconds
  7. with retry 2
  8. then restart
  9. if 5 restarts within 5 cycles then timeout