service

On a Red Hat Linux Variant how may we control whether a service starts when the system boots
nobleitAsked:
Who is Participating?
 
Gerwin Jansen, EE MVEConnect With a Mentor Topic Advisor Commented:
You can use chkconfig or serviceconf (GUI).

To turn on MySQL service on boot:

chkconfig mysqld on

Or show all configured services":

chkconfig --list
0
 
PapertripCommented:
If there are valid rc links and an init script with at least start and stop options, then use chkconfig

chkconfig --list servicename
chkconfig servicename on
chkconfig servicename off

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.