Sha256: 3af6f8036ca53fbcb151cf8ab29de7fd4cf6cc7e4f051c03a120e51f944d2f62

Contents?: true

Size: 459 Bytes

Versions: 5

Compression:

Stored size: 459 Bytes

Contents

# This is the script that kicks off a single CloudCrowd::Daemon. Rely on 
# cloud-crowd.rb for autoloading of all the code we need.

require "#{File.dirname(__FILE__)}/../cloud-crowd"

FileUtils.mkdir('log') unless File.exists?('log')

Daemons.run("#{CloudCrowd::ROOT}/lib/cloud_crowd/daemon.rb", {
  :app_name   => "cloud_crowd_worker",
  :dir_mode   => :normal,
  :dir        => 'log',
  :multiple   => true,
  :backtrace  => true,
  :log_output => true
})

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
documentcloud-cloud-crowd-0.0.4 lib/cloud_crowd/runner.rb
documentcloud-cloud-crowd-0.0.5 lib/cloud_crowd/runner.rb
documentcloud-cloud-crowd-0.0.6 lib/cloud_crowd/runner.rb
documentcloud-cloud-crowd-0.1.0 lib/cloud_crowd/runner.rb
cloud-crowd-0.1.0 lib/cloud_crowd/runner.rb