start-up items

Ray Strode halfline at hawaii.rr.com
Fri Feb 16 17:03:12 PST 2001


 
> I was wondering how you force certain packages to start at start-up.  For
> example httpd starts up automatically but no other services do.  How can I
> get others (esp. inetd, mysql, webmin etc) to start up as well.  
RedHat based distros (ie Mandrake) has a cli utility called
/sbin/chkconfig
/sbin/chkconfig --list shows services, /sbin/chkconfig --add [service]
adds
and /sbin/chkconfig --remove [service] removes.  

> how do I do this manually? rc.local?
The services that you want run are in /etc/init.d ... To make them run
at 
a runlevel, create a symlink in the appropriate directory.
(/etc/rc[runlevel].d)
The symlink should have a name starting with a capital S followed by the
priority
to you want to give it (you want httpd run after network, so you give it
a higher 
number than network).. ex:
ln -s /etc/init.d/identd /etc/rc3.d/S35identd
The above would start identd when runlevel 3 is entered. 

--Ray Strode



More information about the LUAU mailing list