Automatically restart simple Linux daemon (polipo) when it dies
772
I have a polipo proxy running on Ubuntu. It's set to start automatically on boot, but occasionally it just dies. What's the simplest way to have it automatically restarted whenever it exits unexpectedly?
You can use
init
andupstart
for this. For latest Ubuntu you will need to use upstart.See: Bug #505391 in polipo (Ubuntu): “upstart config for polipo”