1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

tag unused

Use what is in /etc/monit/conf-available as a starting point
This commit is contained in:
Jerry Vonau 2021-05-16 16:23:08 -05:00
parent e62d3fae88
commit e397f50f53
6 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,6 @@
check process postgresql with pidfile /library/pgsql-iiab/postmaster.pid
start program = "/sbin/service postgresql-iiab start"
stop program = "/sbin/service postgresql-iiab stop"
if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then restart
if failed host localhost port 5432 protocol pgsql then restart
if 5 restarts within 5 cycles then timeout