autoheal.py script should be deployed automatically along with a systemd service.
autoheal.py
systemd