recognizing a job on Ubuntu 8.04.1

Asked by Adam Monsen on 2008-09-29

I'm having trouble getting upstart to recognize a job I've created. I'm trying to set up a sobby server. I placed the following script in /etc/init/jobs.d (a directory I had to create):

-------------------------8<-------------------------
# sobby

description "dedicated server for collaborative editing"

/usr/bin/sobby --autosave-file=/var/lib/sobby/autosave /var/lib/sobby/autosave
------------------------->8-------------------------

But start/stop/status don't seem to work:

$ sudo status sobby
status: Unknown job: sobby

I'm basically following directions posted here: http://upstart.ubuntu.com/getting-started.html

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
upstart Edit question
Assignee:
No assignee Edit question
Solved by:
Scott James Remnant (Canonical)
Solved:
2008-09-30
Last query:
2008-09-30
Last reply:
2008-09-30

You have forgotten the "exec" in front of the last line of your job

Adam Monsen (meonkeys) said : #2

Thanks, Scott! That worked, but I also had to move the "sobby" file into /etc/event.d (not /etc/init/jobs.d/ mentioned in the "Getting Started" guide).

Adam Monsen (meonkeys) said : #3

Thanks Scott James Remnant, that solved my question.

The Getting Started guide is for a somewhat later version of Upstart than is in Ubuntu

Adam Monsen (meonkeys) said : #5

Ah, I see. Thanks again.

For the record, I'm using Ubuntu 8.04.1 and upstart 0.3.9-2.