Jasinski Technical Wiki


Home Page
All Pages

Quick Search
Advanced Search »

Contributor Links

Create a new Page
File Management
Your Profile

Other Wiki Sections



Page History: Configuring a Service to Automatically Start at System Boot - Linux

Compare Page Revisions

« Older Revision - Back to Page History - Newer Revision »

Page Revision: Tue, Aug 16, 2016, 7:33 AM


Configuring a service to start automatically when the system boots — or, conversely, disabling this feature — involves the use of Linux runlevels. Further details can be found [^https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-services-chkconfig.html |here].


These examples use the MySQL daemon (mysqld as an example, but these commands will work with any service.

To check the configured run levels for a service
chkconfig --list mysqld

To configure a service to automatically start when the system boots.
chckconfig mysqld on

To configure a serve to NOT automatically start when the system boots.
checkconfig mysqld off

ScrewTurn Wiki version Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2023, Patrick Jasinski.