Sha256: e2ec7642f5c1541ea32d0f5479cb67f04c1dc973db9237a7c894a3388dc842f0
Contents?: true
Size: 486 Bytes
Versions: 23
Compression:
Stored size: 486 Bytes
Contents
God.watch do |w| w.name = "apache2" w.interval = 30.seconds # default w.start = "<%= @params[:start] %>" w.stop = "/etc/init.d/httpd stop" w.restart = "<%= @params[:restart] %>" w.start_grace = 10.seconds w.restart_grace = 10.seconds w.pid_file = "/var/run/httpd.pid" w.behavior(:clean_pid_file) w.start_if do |start| start.condition(:process_running) do |c| c.interval = 5.seconds c.running = false c.notify = 'admin' end end end
Version data entries
23 entries across 23 versions & 2 rubygems