Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

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


Background

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].

Commands

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 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2023, Patrick Jasinski.