Sha256: c80f49ddfe0d338b299c29fc2a87978301a4168cd50a804f1b5476e44410ea4f

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

God.watch do |w|
  w.name = 'child-polls'
  w.start = File.join(File.dirname(__FILE__), *%w[simple_server.rb])
  # w.stop = ''
  w.interval = 5
  w.grace = 2
  w.uid = 'tom'
  w.gid = 'tom'
  w.group = 'test'
  w.log = File.join(File.dirname(__FILE__), *%w[out.log])
  
  w.start_if do |start|
    start.condition(:process_running) do |c|
      c.running = false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
god-0.4.1 test/configs/child_polls/child_polls.god
god-0.4.3 test/configs/child_polls/child_polls.god
god-0.4.0 test/configs/child_polls/child_polls.god