I have a process running on a raspberry pi. After ssh ing into in to the process is started like this:
nohup .../blah/blah &
IIUC this allows me to log out of the pi and the process keeps running. However it dies sometimes, and I have to log in and manually restart it. Is there a way to monitor it and have it restart itself?