Set service to auto start on Red Hat EL
Posted: June 7th, 2008 | Author: Jon | Filed under: Technology | Tags: centos, linux, redhat, service | No Comments »To set a service to automatically start at boot time on Red Hat Enterprise Linux (or CentOS) use the following command:
/sbin/chkconfig –level <level> <service> on
<level> is the runlevel, use 3 as it’s the ‘Full multi-user text mode’ runlevel on Red Hat EL/CentOS.
<server> is the name of service, i.e. the script in /etc/init.d/
Or you can use the ncurses-based /sbin/ntsysv utility.
Leave a Reply