lib/mutx/background_jobs/sidekiq.rb in mutx-0.1.32 vs lib/mutx/background_jobs/sidekiq.rb in mutx-0.1.33
- old
+ new
@@ -5,10 +5,10 @@
def self.start
workers_dir = workers_dir = __FILE__.split("/")[0..-2].join("/")+ "/workers"
Mutx::Support::Console.execute "sidekiq -r #{workers_dir}/executor.rb -d -L mutx/logs/sidekiq.log -P mutx/sidekiq_pid"
- Mutx::Support::Console.execute "sidekiq -r #{workers_dir}/mutx_cron.rb -d -L mutx/logs/sidekiq.log -P mutx/sidekiq_pid"
+ Mutx::Support::Console.execute "sidekiq -r #{workers_dir}/mutx_cron.rb -d -L mutx/logs/sidekiq.log -P mutx/sidekiq_cron_pid"
print "\n* Sidekiq:"
raise "Could not start Sidekiq correctly. Read mutx/logs/sidekiq.log file for more information" if not started?
print " Started!\n"
\ No newline at end of file