How do I change the booting order of services?
Dave Kempe
dave at solutionsfirst.com.au
Tue May 29 11:54:20 UTC 2007
Anders Häggström wrote:
> Well, I'm still in the process of learning Upstart. But that sounds
> like a good solution. I've read that Upstart support "profiles" that I
> see as en equivalent to runlevels. Please correct me if I'm wrong, and
> point me in the right direction to solve my problem.
Whats the problem you are actually trying to solve? I haven't seen a
great use for runlevels for a long time, for general server usage.
This is one of the key differences between Redhat and Debian and strikes
back to an argument held long ago on Debian mailing lists, which
effectively means that runlevels as you know them don't really exist in
Debian at all. Basically, the Debian way, (if I may be so bold as to say
i know what it is), is that if you want the package to run, install it
and it will run. If you don't want it, don't install it.
If you want it to start when you ask it to, and not by default, consult
update-rc.d.
upstart replaces init, and will eventually replace init.d scripts.
However you need to understand the heritage and source of the packages
in order to grasp how long this is going to take... its not that simple
on the whole, and effectively widens the fork between Debian and Ubuntu
larger than is justified.
For servers and even embedded things, I have found upstart to be a great
replacement for rc.local hacks and /etc/inittab hacks, and would gladly
see it extended to replace all the init scripts and cron itself
eventually. This is going to take some time :)
thanks
dave
More information about the ubuntu-server
mailing list