On May 11, 2005, at 9:23 AM, Ed Howland wrote:
Debian has no run levels, or rather it does, but levels 2-5 are equivalent and not really used? This confused me.

update-rc.d is the command to configure services to start in run levels.

Cool. Thanks, Ed. No man page, but at least there's help:

# update-rc.d --help
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | sNN kNN]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-n: not really
-f: force


# update-rc.d apache defaults
Adding system startup for /etc/init.d/apache ...
   /etc/rc0.d/K20apache -> ../init.d/apache
   /etc/rc1.d/K20apache -> ../init.d/apache
   /etc/rc6.d/K20apache -> ../init.d/apache
   /etc/rc2.d/S20apache -> ../init.d/apache
   /etc/rc3.d/S20apache -> ../init.d/apache
   /etc/rc4.d/S20apache -> ../init.d/apache
   /etc/rc5.d/S20apache -> ../init.d/apache

Hmm. That command could use a bit nicer interface. For example, a -- list option would be nice, like the one in chkconfig.

http://users.bigpond.net.au/rmoonen/Robert_Moonen/mlug-debian.txt

But can somebody explain how to get a graphical mode (RL 5) vs a shell only mode (RL 3?) type configuration. On my box at home, I just stopped all X services and explicitly start them via startx.

I assume you mean like 'init 3' or 'init 5'. I tried those and they didn't work for me. That is, the runlevel changed, but apache did not start.


Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software.  Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent



_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to