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 :

user@server: chkconfig –list

If you can’t find what you’re looking for right away, use grep to sort through the list :

user@server: chkconfig –list | grep serviceName

If you do not see the service on the list, just add it to it :

user@server: chkconfig –add zabbix_agentd

Now to turn it on at all run levels :

user@server: chkconfig serviceName on

To turn it off is just as easy :

user@server: chkconfig serviceName off

Tagged: