|
Having Services Load at Start Up / Using chkconfig |
|
|
|
|
Written by Trevor Gontz
|
To have services automatically load at boot time you can use the chkonfig command. chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in
those directories. In other words, the chkconfig command can also be used to activate and deactivate services that launch during start up. To have a service load at start up you would type the following at the command line: chkconfig --level (the levels you want the service to run in) (name of service) on Example: To have vsftpd (FTP server) load at startup in run levels 3 and 5 you would type: chkconfig --level 35 vsftpd on
|
|
Last Updated ( Friday, 15 February 2008 )
|