Sha256: 7a2881def3ac27fd8b7801127eb2da0d3c3a5193d25d287f5f26554f0d8d73ad

Contents?: true

Size: 404 Bytes

Versions: 75

Compression:

Stored size: 404 Bytes

Contents

<%
  @path = '/etc/monit/monit.d/monit-postgresql.conf'
%>

check process postgresql with pidfile <%= rubber_env.postgresql_pid_file %>
   group postgresql-<%= Rubber.env %>
   start program = "<%= rubber_env.postgresql_ctl %> restart"
   stop program = "<%= rubber_env.postgresql_ctl %> stop"
   if failed host 127.0.0.1 port 5432 protocol pgsql then alert
   if 5 restarts within 5 cycles then timeout

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
rubber-2.0.2 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.1 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre12 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre11 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre10 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre9 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre8 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre7 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre6 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre5 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre4 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre3 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre2 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf
rubber-2.0.0.pre1 templates/monit/config/rubber/role/postgresql/monit-postgresql.conf