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 trying to launch an upstart service on Ubuntu 8.04 from /etc/init/, but I always get start: Unknown job: job. When I try to launch this script from /etc/event.d/ it works fine. Why would this be and how would I fix it?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Ubuntu 8.04 included an older version of Upstart, which stored its scripts under /etc/event.d rather than /etc/init like current versions do.

While upgrading Upstart would make it look in the new location, I would strongly recommend against doing that unless you are upgrading the entire system (e.g. to the current LTS release: 10.04). Other packages designed for 8.04 that include Upstart scripts will expect that the /etc/event.d location is being used.

If you are stuck on 8.04, it is probably better to work with the version it ships with.

share|improve this answer
    
That's what I figured. Thanks, it should be more obvious in the Upstart documentation or at least mentioned in the UbuntuBootupHowto. –  HighLife Jun 28 '11 at 15:38

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.