LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Adding program to fedora startup: chkconfig and levels? (https://www.linuxquestions.org/questions/linux-general-1/adding-program-to-fedora-startup-chkconfig-and-levels-198601/)

jrbiochem 06-28-2004 05:34 AM

Adding program to fedora startup: chkconfig and levels?
 
Hi to all,

I'd like to be able to add and remove programs from my startup process in Fedora. For my apache installation, this was done with:

chkconfig --level 35 httpd on

Is this safe to do with any program? What level should I put things in at; I'm assuming 35 is not right for everything?

Thanks

Jon

david_ross 06-28-2004 03:22 PM

That is actually levels 3 and 5.
Code:

# These are the default runlevels in Slackware:
#  0 = halt
#  1 = single user mode
#  2 = unused (but configured the same as runlevel 3)
#  3 = multiuser mode (default Slackware runlevel)
#  4 = X11 with KDM/GDM/XDM (session managers)
#  5 = unused (but configured the same as runlevel 3)
#  6 = reboot

On distros like Redhat, Fedora and Mandrake levels 4 and 5 are reversed.

Belkorin 07-09-2004 01:20 PM

I'm running fedora and I just used chkconfig --level 35 httpd on and now when I try to boot it gets to the point where it says "Welcome to Fedora Core Press 'I' for interactive startup" and just locks up there.


All times are GMT -5. The time now is 10:55 PM.