I am deploying Sharetribe application. Following their documentation, I need to run bundle exec rake RAILS_ENV=production jobs:work
. The problem is that after execution of this command, I need to close the SSH
connection, and to do this I have to exit jobs
process.
How can I run bundle exec rake RAILS_ENV=production jobs:work
in background?
You can run it like any other console command by using nohup or just adding & symbol in the end of the command, but note that solution with & will be stopped if you will close the terminal tab with it.