Sha256: 0c0b31e9e23761ab9d8a924f5136bddce01e4c03b944fb5b08ebf06e3259b542

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

# Monit configuration for POSTGRESQL :  <%= fetch(:application) %>
check process postgresql with pidfile <%= fetch(:postgresql_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 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.43 lib/generators/capistrano/magic_recipes/templates/monit/postgresql.erb