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