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

Configuring a Service to Automatically Start at System Boot - Linux

RSS
Modified on Tue, Aug 16, 2016, 7:34 AM by Administrator Categorized as Linux, MySQL

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 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.
sudo chckconfig mysqld on

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

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