Issue
I want to run proces after crash. Script must be always running. I don't know how to do these.
My code what im running script.
cd /var/www/bot
screen -dmS tradebot ./start.sh
start.sh file
nodejs sell.js
Solution
How about while true; do nodejs sell.js; done
in your script? Horrible, but does what you asked. – nsilent22
Answered By - Armali