How to run sidekiq in production server?

Debadatt picture Debadatt · Apr 9, 2014 · Viewed 61.2k times · Source

I have a server with apache + passenger.

How will I run sidekiq in production? Any configuration needed to run the

bundle exec sidekiq

Thanks

Answer

Yersin picture Yersin · May 1, 2014

bundle exec sidekiq -d -L log/sidekiq.log -C config/sidekiq.yml -e production

-d, Daemonize process

-L, path to writable logfile

-C, path to YAML config file

-e, Application environment