Sha256: aff76d8292ed138932eb6965f2aaf31e1681d184647fe709ae67d26adc18edba

Contents?: true

Size: 404 Bytes

Versions: 80

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

80 entries across 40 versions & 6 rubygems

Version Path
rubber-1.15.0 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.15.0 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.14.1 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.14.1 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.14.0 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.14.0 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.13.2 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.13.2 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.13.1 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.13.1 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.13.0 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.13.0 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.12.2 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.12.2 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.12.1 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.12.1 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.12.0 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.12.0 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.11.0 lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
rubber-1.11.0 generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf