Sha256: 779e131e0e9d0cc3f1c040bac04ae2b597e06efbcbf8bc3f69e8e06633d9e220
Contents?: true
Size: 750 Bytes
Versions: 11
Compression:
Stored size: 750 Bytes
Contents
namespace :sad do desc "start sad with args - COUNT=4 QUEUE=sosad DIR=./tmp/pids" task :start do opts = { :dir => ENV['DIR'], :multiple => true, :log_output => true, :backtrace => true, :ARGV => ['start'] } Sad::Runner.exec(opts) end desc "stop sad with args - COUNT=4 QUEUE=sosad DIR=./tmp/pids" task :stop do opts = { :dir => ENV['DIR'], :multiple => true, :log_output => true, :backtrace => true, :ARGV => ['stop'] } Sad::Runner.exec(opts) end desc "restart sad with args - COUNT=4 QUEUE=sosad DIR=./tmp/pids" task :restart do opts = { :dir => ENV['DIR'], :multiple => true, :log_output => true, :backtrace => true, :ARGV => ['restart'] } Sad::Runner.exec(opts) end end
Version data entries
11 entries across 11 versions & 1 rubygems