How to run sidekiq in background - what is the best approch with rails app running on Nginx

Viewed 3054

I'm using Sidekiq 6.0.1. I'm trying to run in the background, here is the command I'm using:

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

This is showing

ERROR: Daemonization mode was removed in Sidekiq 6.0, please use a proper process supervisor to start and manage your services

ERROR: Logfile redirection was removed in Sidekiq 6.0, Sidekiq will only log to STDOUT

My application is of Ruby on Rails and deployed using the Nginx web server.

What would be the best approach to run the sidekiq in the background so my rails application can run the workers?

1 Answers
Related