Chkconfig controls when a service will start up or stop based on the run level of the server. To list all of the services and when they would start and stop simply run the following :
[email protected]: chkconfig –list
If you can’t find what you’re looking for right away, use grep to sort through the list :
[email protected]: chkconfig –list | grep serviceName
If you do not see the service on the list, just add it to it :
[email protected]: chkconfig –add zabbix_agentd
Now to turn it on at all run levels :
[email protected]: chkconfig serviceName on
To turn it off is just as easy :
[email protected]: chkconfig serviceName off
Tagged: