How do I change the booting order of services?

Soren Hansen sh at linux2go.dk
Tue May 29 11:54:50 UTC 2007


On Sun, May 27, 2007, Anders Häggström wrote:
> The normal way is to edit /etc/initrc and change the name/number of
> the scripts in /etc/rcX.d/

Define "normal" :)   The way it's always been in Ubuntu (and Debian for
as long as I can remember, and unless I'm much mistaken, also RedHat,
Solaris, and HP-UX) is to have /etc/inittab that instructs init to do
certain things.  Among them, it calls upon /etc/init.d/rc to go through
the relevant /etc/rc?.d directory and start/stop services.

In Ubuntu, we now use upstart instead of sysvinit by default. We still
use the symlinks in /etc/rc?.d to determine the order in which we start
things. The things that used to be done by init itself, e.g. setting up
the virtual terminals and such, is now done by upstart at the start of
runlevel 2.

> but I have no initrc-file and I've read something about upstart not
> using the normal way to start up the system. Is that correct?

Upstart provides a more intelligent way of starting/stopping/respawning
things than sysvinit, but we currently use very little of that
functionality.

-- 
| Soren Hansen    | Linux2Go                  | http://Linux2Go.dk/ |
| Seniorkonsulent | Lindholmsvej 42, 2. TH    | +45 46 90 26 42     |
| sh at linux2go.dk  | 9400 Norresundby, Denmark | GPG key: E8BDA4E3   |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20070529/ebc696d8/attachment.pgp>


More information about the ubuntu-server mailing list