Sha256: aa2881e2a41623f2e8534fd106ab01acc59f44f2b78d67b87b38526a00281f22

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 Bytes

Contents

God.watch do |w|
  w.name = 'mysql'
  w.group = 'db_primary'
  w.autostart = false
  
  w.start    = "/etc/init.d/mysql start" 
  w.stop     = "/etc/init.d/mysql stop;" 
  w.restart  = "/etc/init.d/mysql restart" 
  
  w.pid_file = "/var/run/mysqld/mysqld.pid"

  default_configurations(w)
  w.grace    = 60.seconds

  restart_if_resource_hog(w, :memory_usage => false)
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
ewoutvonk-ec2onrails-0.9.10.4.001 server/files/etc/god/db_primary.god
gigpark-ec2onrails-0.9.10.3 server/files/etc/god/db_primary.god
pauldowman-ec2onrails-0.9.10.2 server/files/etc/god/db_primary.god
pauldowman-ec2onrails-0.9.10.3 server/files/etc/god/db_primary.god
pauldowman-ec2onrails-0.9.10.4 server/files/etc/god/db_primary.god