My Oracle Support Banner

Oracle Linux 7: command systemctl replaces legacy commands service and chkconfig (Doc ID 1997648.1)

Last updated on APRIL 22, 2020

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64

Purpose

This document describe how to start, stop, auto-start or not at boot a service by using systemctl command in Oracle Linux 7.

Note: Legacy commands service and chkconfig are still compatible in Oracle Linux 7 with forwarding/redirecting information output of prevailing command systemctl.

 

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Details
 Starting, stopping and checking status of a service
 Enabling or disabling auto-start of a service
 Listing services

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.