Sha256: 3618cf734d392ed8c46b5b790cfdc2337cff3efff4db6cf7dbbc8330b3e4c372

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

God.watch do |w|
  w.name  = "memcached"
  w.group = 'memcache'
  w.autostart = false

  w.start     = "/etc/init.d/memcached start"
  w.stop      = "/etc/init.d/memcached stop"
  w.restart   = "/etc/init.d/memcached restart"
  w.pid_file  = "/var/run/memcached.pid"

  default_configurations(w)
  w.grace     = 10.seconds
 
  restart_if_resource_hog(w, :memory_usage => false)
  monitor_lifecycle(w)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pauldowman-ec2onrails-0.9.10.0 server/files/etc/god/memcache.god
pauldowman-ec2onrails-0.9.10.1 server/files/etc/god/memcache.god