I wrote a Bash script which tries to find a process and run the process if it had stopped. ... Tmux loop ...
stackoverflow.com