scripts/postgresql/postgresql_monit.conf in standup-0.3.35 vs scripts/postgresql/postgresql_monit.conf in standup-0.3.36
- old
+ new
@@ -1,9 +1,9 @@
check process postgresql with pidfile /var/run/postgresql/9.0-main.pid
group database
start program = "/etc/init.d/postgresql start"
stop program = "/etc/init.d/postgresql stop"
- if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then restart
- if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then alert
+ #if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then restart
+ #if failed unixsocket /var/run/postgresql/.s.PGSQL.5432 protocol pgsql then alert
if failed host localhost port 5432 protocol pgsql then restart
- if failed host localhost port 5432 protocol pgsql then alert
+ #if failed host localhost port 5432 protocol pgsql then alert
if 5 restarts within 5 cycles then timeout
\ No newline at end of file