1. Introduction to systemd
Systemd is a system and service manager for Linux operating systems. It is designed to be backwards compatible with SysV init scripts, and provides a number of features such as parallel startup of system services at boot time, on-demand activation of daemons, or dependency-based service control logic.
Systemd introduces the concept of
systemd units. These units are represented by unit configuration files located in one of the directories listed in Table 1.2, “Systemd Unit Files Locations”, and encapsulate information about system services, listening sockets, and other objects that are relevant to the init system. For a complete list of available systemd unit types, see Table 1.1, “Available systemd Unit Types”.
Table 1.1. Available systemd Unit Types
|Unit Type||File Extension||Description|
||A system service.|
||A group of systemd units.|
||A file system automount point.|
||A device file recognized by the kernel.|
||A file system mount point.|
||A file or directory in a file system.|
||An externally created process.|
||A group of hierarchically organized units that manage system processes.|
||A saved state of the systemd manager.|
||An inter-process communication socket.|
||A swap device or a swap file.|
||A systemd timer.|
Table 1.2. Systemd Unit Files Locations
Overriding the Default systemd Configuration Using system.conf
The default configuration of systemd is defined during the compilation and it can be found in systemd configuration file at
/etc/systemd/system.conf. Use this file if you want to deviate from those defaults and override selected default values for systemd units globally.
For example, to override the default value of the timeout limit, which is set to 90 seconds, use the DefaultTimeoutStartSec parameter to input the required value in seconds.
Another parts of this guide: