thanks shawn, this is going to come in handy. i just started using gentoo yesterday and i am completely impressed by it :)
i've got just the applications that i need installed, no bloatware. :)


-j-

Shawn wrote:
Just for info to those who are working on Gentoo...

You can do the same thing with the "rc-update" script. The command:

rc-update add postfix default

will add the postfix service to the default run level.  Removing services
from auto startup is done by changing the "add" portion to "del".  The
service name can be sometimes finiky - sometimes it's simply the name of the
service (such as postfix, or apache2), and sometimes it's the name of the
daemon (like spamd for spamassassin).  To get a list of what services are
available, and when/if they will be started, you can do "rc-update show".

Thanks for the tip Szemir.

Shawn

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of bogi
Sent: Thursday, January 08, 2004 11:17 PM
To: [EMAIL PROTECTED]
Subject: [clug-talk] services start add remove in linux.


Hi For a question i got yesterday: How to add services to start automatically at boot-time and or remove them by hand??

I was suggesting not to do it by HAND, but use the otherwise
available
chkconfig

This is part of linux base. and the fun part is, this script knows the
thing about adding/starting services in a paraticular order, and does
not make a mess of the whole process.

[EMAIL PROTECTED] root]# chkconfig
chkconfig version 1.3.6 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig --list [name]
         chkconfig --add <name>
         chkconfig --del <name>
         chkconfig [--level <levels>] <name> <on|off|reset>)
[EMAIL PROTECTED] root]# chkconfig --list
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off
dm              0:off   1:off   2:off   3:off   4:off   5:on    6:off
kheader         0:off   1:off   2:on    3:on    4:off   5:on    6:off
keytable        0:off   1:off   2:on    3:on    4:on    5:on    6:off

the script also knows about the necessery settings regarding the different
run-levels.
use it to add/delete/list services set on your system.

Also note, that many distros do have well-functioning gui-front-ends for
this
script to manage services, if you have yoour gui set properly, you can use
those too :-)

Cheers
Szemir


_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca


_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca



_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to