Overview This script start/restart the services Redis-server and Thin-server whenever they are down Execution Put this file in the directory of project and give permission of execution as sudo user. sudo chown+x monitor.sh After performing ./monitor.sh