I have made a python script, that needs to constantly be doing some work, whenever the machine is running the script needs to be running, the problem is that sometimes it crashes from unpreventable reasons. In these situations I want it to restart.
I thought of making it a daemon, but I am not sure if it is an overkill or the correct thing to do.