Sha256: ef4a9e2724eaaa5d1cf5e5abf0bcceae7f4c8f41826a4dd6da3c13280c3448e6

Contents?: true

Size: 179 Bytes

Versions: 67

Compression:

Stored size: 179 Bytes

Contents

# exit!(2)

3.times do
  puts 'waiting'
  sleep 1
end

p ENV

command = '/usr/local/bin/ruby ' + File.join(File.dirname(__FILE__), *%w[simple_server.rb]) + ' stop'
system(command)

Version data entries

67 entries across 67 versions & 21 rubygems

Version Path
god-0.7.6 test/configs/daemon_events/simple_server_stop.rb
god-0.7.7 test/configs/daemon_events/simple_server_stop.rb
god-0.7.5 test/configs/daemon_events/simple_server_stop.rb
god-0.7.8 test/configs/daemon_events/simple_server_stop.rb
god-0.7.13 test/configs/daemon_events/simple_server_stop.rb
god-0.7.12 test/configs/daemon_events/simple_server_stop.rb
god-0.7.3 test/configs/daemon_events/simple_server_stop.rb