Re: What file(s) does system-config-services modify??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 08 December 2006 08:10, Deepak Shrestha wrote:
> > Use "chkconfig" from the command line.
>
> Thanks for info.
>
> Is this how we check if the entry made is correct?
>
> (correct me if I am wrong)
> Supposing if I add the smb service for run-level 3, I should look for
> the "smb" in /etc/rc3.d/
>
> For example:
> # ls /etc/rc3.d/ | grep smb
>
> in my case it returns "S91smb", which I assume the service is added
> for this run level. Is this how we check? Othewise the only process I
> know is to run the machine in each run-level and check if the process
> is there. By the way what its that "S91" ?
>
> Thanks again


Ok the daemon startup files are actually in /etc/init.d

The directories /etc/rc0.d ... /etc/rc6.d contain links to the daemon 
startup files for each of the runlevels 0 .. 6.

The S at the start of a link says the daemon should be "started" and a K 
says the daemon should be "killed" on entering that runlevel

The 91 or any other number says the order in which the daemons should be 
started or killed.

Tony

-- 



Tony Molloy.

System Manager.
Dept. of Comp. Sci.
University of Limerick


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux