Sha256: 4f089b79f05bb34541ee4e663e16248f3ebfb120c5e5bb0d5edc9496c60d64a3
Contents?: true
Size: 395 Bytes
Versions: 15
Compression:
Stored size: 395 Bytes
Contents
lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '../../lib')) if File.exist?(File.join(lib_dir, 'daemons.rb')) $LOAD_PATH.unshift lib_dir else begin; require 'rubygems'; rescue ::Exception; end end require 'daemons' options = { :multiple => true, :monitor => true, :log_output => true, } Daemons.run(File.join(File.dirname(__FILE__), 'myserver_crashing.rb'), options)
Version data entries
15 entries across 13 versions & 4 rubygems