Thursday, September 5, 2013

chkconfig add service in linux

We all now we use chkconfig entry to survive the reboots. If you enable a service for a particular runlevel using chkconfig the service will automatically start when server reboots in that particular runlevel. In this post we will see how to add a service to chkconfig.

You can list the entries using the following command
[root@localhost init.d]# chkconfig --list Service
Service          0:off   1:off   2:on    3:on    4:on    5:off   6:off