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.

We have upstart jobs configured to start on boot and respawn and that's all fine, like this:

start on net-device-up IFACE!=lo
respawn

But when I create a new job, I still have to shell to the machine and emit the start event for the job (or reboot the machines). I'd like upstart to start the job as soon as the job .conf file is created.

Is there any "start on" condition that will do this?

PS. On upstart 0.6.5

share|improve this question
    
I am wondering how you would create a new job (job.conf) it you didn't already ssh to the machine(s). –  schkovich Jun 5 '13 at 5:55
    
It's a good point. I'm using puppet to manage the job conf files. So of course I'll use puppet to manage the service too. Should have thought of that before, duh. –  Daniel Lucraft Jun 5 '13 at 13:36
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.