Upstart script not working on Ubuntu

Posted by Holy Crap on Server Fault See other posts from Server Fault or by Holy Crap
Published on 2011-02-13T06:11:27Z Indexed on 2011/02/13 7:26 UTC
Read the original article Hit count: 296

Filed under:
|

I'm trying to write an upstart script to start orbited on startup. The script is as follows:

#orbited
start on startup
stop on shutdown
script
        exec /usr/local/bin/orbited --config=/etc/orbited.cfg
end script

When I run upstart orbited I get something like this:

orbited start/running, process 605

But when I run status orbited right after doing that I get:

orbited stop/waiting

The script fails to start even though it says it's running. Any ideas?

Thanks!

© Server Fault or respective owner

Related posts about ubuntu-10.04

Related posts about upstart