Sha256: 20f79d956993506691ad0ab69574f7a062470d9017fa717e447113742c3f8987
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
God.watch do |w| w.name = "apache2" w.interval = 30.seconds # default w.start = "<%= @params[:start] %>" w.stop = "<%= @params[:stop] %>" w.restart = "<%= @params[:restart] %>" w.start_grace = 10.seconds w.restart_grace = 10.seconds w.pid_file = "/var/run/apache2.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
4 entries across 3 versions & 3 rubygems