Sha256: 492a36c37518f6555125c9edf9e075b89df77b762ab4a7c78f603106d1da4daf
Contents?: true
Size: 331 Bytes
Versions: 114
Compression:
Stored size: 331 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 = { } Daemons.run(File.join(File.dirname(__FILE__), 'myserver_exiting.rb'), options)
Version data entries
114 entries across 114 versions & 13 rubygems