Sha256: 12fc1645bca3dbd73f972327ee8b56f249be1c943f449c9f1437211d96b367e1

Contents?: true

Size: 343 Bytes

Versions: 114

Compression:

Stored size: 343 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
}

Daemons.run(File.join(File.dirname(__FILE__), 'myserver.rb'), options)

Version data entries

114 entries across 114 versions & 13 rubygems

Version Path
classiccms-0.3.9 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.8 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.7 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.6 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.5 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.4 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.3 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.2 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.1 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.3.0 vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
classiccms-0.2.4.pre vendor/bundle/gems/daemons-1.1.8/examples/run/ctrl_multiple.rb
daemons-1.1.8 examples/run/ctrl_multiple.rb
daemons-1.1.6 examples/run/ctrl_multiple.rb
daemons-1.1.5 examples/run/ctrl_multiple.rb
daemons-1.1.4 examples/run/ctrl_multiple.rb
daemons-1.1.3 examples/run/ctrl_multiple.rb
ghazel-daemons-1.0.13.1 examples/run/ctrl_multiple.rb
ghazel-daemons-1.0.12.1 examples/run/ctrl_multiple.rb
daemons-1.1.2 examples/run/ctrl_multiple.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_multiple.rb