Sha256: 2e6e282b463b4392cb699a32697d32b312acc512b290c97177f2f59360f93c56
Contents?: true
Size: 426 Bytes
Versions: 67
Compression:
Stored size: 426 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 = { #:force_kill_waittime => 40 #:force_kill_waittime => -1 # do not wait before killing -9 } Daemons.run(File.join(File.dirname(__FILE__), 'myserver_slowstop.rb'), options)
Version data entries
67 entries across 65 versions & 8 rubygems