Openlitespeed Service Doesnt Start Automaticly: How To Auto-Start LSWS Service on Boot

To auto start a new service:

  • Add lsws service to chkconfig
    sudo /sbin/chkconfig --add lsws
  • Make sure it is in the chkconfig.
    sudo /sbin/chkconfig --list lsws
  • Set it to autostart
    sudo /sbin/chkconfig lsws on

To stop a service from auto starting on boot

  • sudo /sbin/chkconfig slws off

.

Also For Apache Server Auto-Start Command;

To auto start a new service:

  • Find out the name of service’s script from /etc/init.d/ directory e.g. mysqld or httpd
  • Add it to chkconfig
    sudo /sbin/chkconfig --add mysqld
  • Make sure it is in the chkconfig.
    sudo /sbin/chkconfig --list mysqld
  • Set it to autostart
    sudo /sbin/chkconfig mysqld on

To stop a service from auto starting on boot

  • sudo /sbin/chkconfig mysqld off

Openlitespeed lsws service auto start

http://www.abhigupta.com/2010/06/how-to-auto-start-services-on-boot-in-centos-redhat/

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>