To create a custom service to be managed by systemd, you create a unit file that defines the configuration of that service. Unit_type can be one of the following: Unit TypeĪ socket for inter-process communication.Ī group of unit that manage the system processes. Unit files names are of the form unit_name.unit_type This directory takes precedence over other directories. Unit files created by systemctl enable and custome unit files created by system administrators.Īny custom unit files that you create should be placed in the /etc/system/system/ directory. Changes in this directory are lost when rebooted. Unit files that are dynamically created at runtime. Do not modify unit files in this location. Unit files distributed with installed packages. Each unit is defined by a unit file (configuration file) which is located in one of the following directories. Each of these entity that are managed by systemd is called a unit. One of the main functions of systemd is to manage the services, devices, mount points, sockets and other entities in a Linux system. Systemd is a system and service manager and like most major Linux distributions the init deamon was replaced by systemd in CentOS 7.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |