I am running several process at startup using crontab -e@reboot tranmission-daemon && python defualt.py && python MonitorService.pyBut for some reason, those service can terminate by itself due to hdd insufficient, or web host killed it, how do I check if those service are killed and I re run it again?I am using CentOS 6
Detect process if not found then run it
process;monitoring;startup;services
I recommend supervisord (supervisord dot org) which happens to be written in Python. Here is an article for installing it using the Python package manager: Herd Unix Processes with Supervisor.If you would rather use RPM, then use this guide: Running supervisor 3 on CentOS 5Hit back if you have any issues. It's a great tool once you get it working.