Quickstart supervisor guide supervisor is a UNIX utility to managing and respawning long running Python processes to ensure they are always running. Or according to its website:
Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
Installation supervisor can be installed with pip
$ pip install supervisor Given a script test_proc.py, start the process under supervisor as