LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-21-2005, 01:42 PM   #1
tuxfood
Member
 
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Rep: Reputation: 15
a question about starting of services during boot time


hi.....

We know that when the linux system starts up ... its start them by satisfying dependencies between them,...


I would rather put my question through an example


eg: service vsftpd depends on service network rite???
So network is started before vsftpd is started.....


My question is whether starting up of network service should have just begun and we can start vsftpd or is it that vsftpd can be started only when the whole startup procedure of service network must have finished?????



also .... i remember reading the script of vsftpd.... it first checks whether network is up by checking a varibale 'networking' ..... when does this get set up????

any ideas????


thnks

tuxfood
 
Old 04-22-2005, 09:59 PM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Yeah, there is a dependence. But it is maintained manually. Ever open one of those files /etc/init.d and read them? in FC/RH, there is always a comment line
Code:
#chkconfig  12345 num1 num2
the num1 and num2 are integer which will be used by chkconfig to determine the order of execution of the script during boot up and shutdown.

Using your example, network is 10 and vsftpd is 60 (in my system). So it garantee that vsftpd is executed after network is done.

And since the boot up sequence is so far linear, vsftpd cannot only start unless previous one is finished.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop services from starting at boot augu2000 Slackware 6 11-04-2005 07:24 PM
Starting different services at boot mjjzf Slackware 2 05-21-2005 01:46 PM
FC2/FC1: decreasing boot up time by delaying services anandj Fedora 0 06-07-2004 10:22 AM
Starting services at boot bionikxtc Solaris / OpenSolaris 1 03-12-2004 09:27 PM
starting services at boot-time noisybastard Linux - Newbie 2 11-09-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration