[NTLUG:Discuss] Start up services
Jim Wildman
jawildman at rossberry.com
Sun Dec 16 21:48:13 CST 2001
I believe you said this was a RH box.
The start up order is determined by the canonical order of files in
the various startup directories. For instance, /etc/rc3.d on my box
contains
K03rhnsd
K10webmin
K15postgresql
K16rarpd
K20nfs
K34yppasswdd
K35vncserver
K45arpwatch
K46radvd
K50snmpd
K50tux
K65identd
K74ntpd
K74ypserv
K74ypxfrd
K89bcm5820
S05kudzu
S08iptables
S10network
S12syslog
S13portmap
S14nfslock
S17keytable
S20random
S25netfs
S28autofs
S55named
S55sshd
S56rawdevices
S56xinetd
S60lpd
S80sendmail
S85gpm
S85httpd
S90crond
S90squid
S90xfs
S91smb
S95anacron
S95atd
S99local
S99webmin
These are all links to the actual scripts in /etc/rc.d/init.d. On startup
the S* scripts are executed in order. To change the order, change the
numbers. Just make sure the link is still labeled S<something>. The
K<something> files are the order they get killed on shutdown. Oh, and the
kill scripts need to be named in inverse numerical order from the S
scripts. ie, K01 and S99.
------------------------------------------------------------------------
Jim Wildman, CISSP jim at rossberry.com
817-308-3868 http://www.rossberry.com
On Sun, 16 Dec 2001, Bug Hunter wrote:
>
> By hand, change the first alphabetical letter in
>
> /etc/rc.d/init.d/rc*.d/servicestart
>
> rc3.d is the one to play with.
>
> There may be some program that does that in an automated fashion.
>
>
>
> On 16 Dec 2001, Patrick Parks wrote:
>
> > Can anyone tell me what script I might change to rearrange the order in
> > which some of my services will start on boot up? Thanks
> > --
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list