I need to run a shell from rails with a small difference, I need the script to continue running even if the server process (puma) is killed.
I added an update system inside my application, but I need to restart the server to work the changes. When I run the sh file to restart the server, it shuts down the server and stops script execution and consequently does not restart the server.