конфигурация сервисного блока (Service unit configuration)
Описание (Description)
A unit configuration file whose name ends in ".service" encodes
information about a process controlled and supervised by systemd.
This man page lists the configuration options specific to this
unit type. See systemd.unit(5) for the common options of all unit
configuration files. The common configuration items are
configured in the generic [Unit] and [Install] sections. The
service specific configuration options are configured in the
[Service] section.
Additional options are listed in systemd.exec(5), which define
the execution environment the commands are executed in, and in
systemd.kill(5), which define the way the processes of the
service are terminated, and in systemd.resource-control(5), which
configure resource control settings for the processes of the
service.
If a service is requested under a certain name but no unit
configuration file is found, systemd looks for a SysV init script
by the same name (with the .service suffix removed) and
dynamically creates a service unit from that script. This is
useful for compatibility with SysV. Note that this compatibility
is quite comprehensive but not 100%. For details about the
incompatibilities, see the Incompatibilities with SysV
[1]
document.
The systemd-run(1) command allows creating .service and .scope
units dynamically and transiently from the command line.