Sha256: 9b9296524598753918741052bf5ee7ffd4d353fa201a6780552d88e989a7c195

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 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 10 seconds...'
  
  sleep(10)
  
  puts 'CRASH!'
  raise 'CRASH!'
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
blue-daemons-1.1.11 examples/run/myserver_crashing.rb
mlanett-daemons-1.1.10.3 examples/run/myserver_crashing.rb
mlanett-daemons-1.1.10.2 examples/run/myserver_crashing.rb