Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
Have you tried using the respawn command in /etc/init/cups.conf? netsplit.com/2008/04/19/upstart-05-job-lifetime –  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
add comment

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.

Browse other questions tagged or ask your own question.