That's technically up to you, although there is a method to the
madness. Here:

runlevel:       purpose:
------------------------
0               halt
1               single-user (no net, no multi)
2               multi-user (no net)
3               multi-user + net
4               currently unused
5               xdm
6               reboot

        Keep in mind that these are redhat's, debian for example is
different. That should explain where things go, though. You want apache to
run in a net enabled runlevel, for example. So put it in 3 and 5, etc..

HTH, Matt

-----------------------------------------------------------
Matt Housh                         email: [EMAIL PROTECTED]
MicroComputer Specialist                University of Tulsa
                           Engineering and Natural Sciences

    "I don't remember yesterday. And today, it rained."

On 2 Jun 1998, Jake Colman wrote:

> Matt,
> 
> Thanx for answering but this is not quite what I was looking for.  I know the
> mechanics of how to assign scripts to particular runlevel.  What I'm looking
> for is a definition of what belongs to a particular runlevel.  At installation
> time you can indicate which scripts you'd like to run.  It will then create all
> the necessary scripts at all the correct runlevels.  What about after the fact?
> If I want to start running autofs or or inews, how can I find out which
> runlevels should have the start/stop symlinks?
> 
> 
> >>>>> "Matt" == Matt Housh <[EMAIL PROTECTED]> writes:
> 
>     Matt>     The default runlevel is 3, iirc, and therefore scripts are run
>     Matt> from /etc/rc.d/rc3.d. Scripts are run from the dir
>     Matt> /etc/rc.d/rc<runlevel>.d, as per default. If you want a script to run
>     Matt> in a certain runlevel, you could either create it in that runlevel's
>     Matt> specific directory, or create it in /etc/rc.d/init.d, and symlink it,
>     Matt> like the defaults. Keep in mind that the script's name in that
>     Matt> specific dir is important. Scripts with higher numbers in their name
>     Matt> get executed later, such as S40crond being executed before
>     Matt> S91smb. You might look into the graphical runlevel tool, as well,
>     Matt> called tksysv. (Can also be run from control-panel, of course.) HTH
> 
> 
> -- 
> Jake Colman                     
> 
> Principia Partners LLC                  Phone: (201) 946-0300
> Harborside Financial Center               Fax: (201) 946-0320
> 902 Plaza II                           Beeper: (800) 505-2795
> Jersey City, NJ 07311                  E-mail: [EMAIL PROTECTED]
>                                        E-mail: [EMAIL PROTECTED]
>                                           web: http://www.ppllc.com
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with 
>                        "unsubscribe" as the Subject.
> 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to