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:
parent
e62d3fae88
commit
e397f50f53
6 changed files with 0 additions and 0 deletions
6
roles/monit/templates/postgresql.unused
Executable file
6
roles/monit/templates/postgresql.unused
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue