Introduction
This article will walk you through starting a service on boot when using CentOS6.
Procedure
In CentOS6, the 'chkconfig' command is used to enable services to start on boot. The syntax is:
chkconfig $service on
We can use the 'nscd' service as an example:
chkconfig nscd on
and once that has been turned on, we can use the following to check that it was enabled:
[root@cent6 ~]# chkconfig nscd on
[root@cent6 ~]# chkconfig --list | grep nscd
nscd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Comments
0 comments
Article is closed for comments.