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
?
If you are running on Linux, learn to use systemd.
https://github.com/mperham/sidekiq/wiki/Deployment#running-your-own-process
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With