Start on when?

Asked by Scott on 2009-09-19

I am trying to run orbited at startup, but it's not working. I'm assuming it's trying to start too soon. What would I use in place of start on startup? Once I start it manually, the respawn works as expected. My current script is:

start on startup
exec /usr/bin/orbited --config=/etc/orbited.cfg
respawn

I'm running 0.3.9 on Ubuntu Hardy.

Question information

Language:
English Edit question
Status:
Answered
For:
upstart Edit question
Assignee:
No assignee Edit question
Last query:
2009-09-19
Last reply:
2009-10-03

On Sat, 2009-09-19 at 02:34 +0000, Scott wrote:

> I am trying to run orbited at startup, but it's not working. I'm
> assuming it's trying to start too soon. What would I use in place of
> start on startup? Once I start it manually, the respawn works as
> expected. My current script is:
>
Which event you use instead of startup depends entirely on what you're
starting.

For example, if you want it to run after the rc scripts for the usual
runlevels:

  start on stopped rc[2345]

Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?

Can you help with this problem?

Provide an answer of your own, or ask Scott for more information if necessary.

To post a message you must log in.