Start on when?

Asked by Scott

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:
Last reply:
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) said :
#1

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.