1

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?

2 Answers 2

2

You can use init and upstart for this. For latest Ubuntu you will need to use upstart.

man inittab
man upstart
3
  • Thanks. I tried adding an upstart script, but after spending an hour on this it just wouldn't start. Typical Linux - nothing ever "just works". sigh
    – EMP
    Oct 8, 2011 at 1:32
  • Can you paste your script into your question? This community is better at technical stuff... Oct 8, 2011 at 7:14
  • Sorry, I've given up and deleted the script in disgust.Have a +1, anyway!
    – EMP
    Oct 8, 2011 at 12:52
0

See: Bug #505391 in polipo (Ubuntu): “upstart config for polipo”

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .