1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/monit/templates/postgresql
georgejhunt 4462652deb Iiab (#68)
* xs- goes to iiab-

* more xs->iiab

* sysconfig was forgotten

* hyphen vs underscore i roles network templates

* bulk sed on pgsql-xs

* create links for old script names

* missed named-xs -> named-iiab

* squid-xs ->squid-iiab

* misspelled squid-iiab.conf.j2
2017-06-27 19:53:13 -07:00

6 lines
380 B
Text
Executable file

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