Sha256: 57daecb660d2978acf31df0e58c55818437c34089aa74135f77ffe4fa6c08b45

Contents?: true

Size: 366 Bytes

Versions: 124

Compression:

Stored size: 366 Bytes

Contents

# This is myserver.rb, an example server that is to be controlled by daemons
# and that does nothing really useful at the moment.
#
# Don't run this script by yourself, it can be controlled by the ctrl*.rb scripts.

loop do
  puts 'ping from myserver.rb!'
  puts 'this example server will crash in 3 seconds...'
  
  sleep(3)
  
  puts 'CRASH!'
  raise 'CRASH!'
end

Version data entries

124 entries across 124 versions & 12 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/daemons-1.1.8/examples/run/myserver_crashing.rb
classiccms-0.7.4 vendor/bundle/gems/daemons-1.1.8/examples/run/myserver_crashing.rb
classiccms-0.7.3 vendor/bundle/gems/daemons-1.1.8/examples/run/myserver_crashing.rb
asana2flowdock-1.0.0 vendor/bundle/ruby/1.9.1/gems/daemons-1.1.9/examples/run/myserver_crashing.rb
auser-poolparty-1.3.0 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.1 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.10 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.11 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.12 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.13 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.14 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.15 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.16 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.17 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.2 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.3 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.4 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.5 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.6 vendor/gems/daemons/examples/run/myserver_crashing.rb
auser-poolparty-1.3.7 vendor/gems/daemons/examples/run/myserver_crashing.rb