I am trying to build and produce an APP that uses Redis and Sidekiq for jobs in queues. In development it works as follows. Rodo the command in the terminal:
bundle exec sidekiq -q default
and let it roll. When I send the processes to the queue, through Rails the jobs are automatically executed. But on the production server I could not make it work in the same way. even because the connection is SSH. I do not know if there is anyone to configure the command to start consumption, inside Rails itself. Or if it's the same way as in development, opening a terminal with SSH connection and letting it go there. But then I fall into another doubt. What if the server restarts? Both Redis server and sidekiq are running manually. My Web Server is Apache2 and Passenger. Ruby version 2.2.3 and Rails 4.2.3