Sha256: 20c2970c4e5a20c075f9847e9926f26f53efaab103c560b9ccb23f8dcd17d238

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

# Monit configuration for POSTGRESQL :  <%= fetch(:application) %>
check process postgresql with pidfile <%= fetch(:monit_pg_pid) %>
  start program = "/etc/init.d/postgresql start"
  stop program = "/etc/init.d/postgresql stop"
  # if does not exist then start # (default)
  # if does not exist for 3 cycles then <%= monit_alert %>
  if 3 restarts within 5 cycles then <%= monit_alert %>
  if failed host localhost port 5432 protocol pgsql then restart
  if 5 restarts within 5 cycles then timeout

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.95 lib/generators/capistrano/magic_recipes/templates/monit/postgresql.erb