Sha256: 5498b74d62fbdb26cbbe820aca7116af5a07b7a92bba597d832cdf6b4cad3c04
Contents?: true
Size: 348 Bytes
Versions: 15
Compression:
Stored size: 348 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 = { :keep_pid_files => true } Daemons.run(File.join(File.dirname(__FILE__), 'myserver.rb'), options)
Version data entries
15 entries across 13 versions & 4 rubygems