dennybaa
8/3/2015 - 9:43 PM

multiple workers

multiple workers

1.upto(runners_count) do |i|
  service "worker-#{i}" do
    ENV['WORKERID'] = i
    service_name 'actionrunner-worker' do
      action :start
    end
  end
end