Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having some issues with cups on 10.04 (64 bit).

I'm running about 200+ machines with the same image and cups crashes a lot.

What I'd like to do is create an upstart job to monitor and respawn cupsd if it crashes. I've tried to find the solution myself but I'm struggling.

Can anyone provide some help?

Kind regards, Darknomel

share|improve this question

closed as too localized by Bruno Pereira Feb 24 '12 at 9:47

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Have you tried using the respawn command in /etc/init/cups.conf? – arrange Jul 25 '11 at 8:53
At the moment, cups is started out of /etc/init.d/cups , there is no job in /etc/init/ - is there an update to upstart or cups that I need to do for it to create the upstart job or can I create it manually? – darknomel Jul 25 '11 at 9:03
Hmm, sorry, I forgot to check, cupsd start was migrated to upstart for maverick, not lucid. You can try copying the /etc/init.d/cups and /etc/init/cups.conf from maverick, but I don't know if it will work (the changelog is pretty big ;). – arrange Jul 25 '11 at 9:12
Cool, I'll get ye old maverick iso out and see what I can do. Thanks! – darknomel Jul 25 '11 at 9:23
The upstart job from maverick should work fine.. I'm interested to find out if that works. If it does, make sure to give arrange credit (arrange, you really should put that in as an answer instead of a comment) – SpamapS Sep 2 '11 at 17:05