Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   systemd.unit    ( 5 )

конфигурация агрегата (Unit configuration)

Автоматические зависимости (Automatic dependencies)

Implicit Dependencies
       A number of unit dependencies are implicitly established,
       depending on unit type and unit configuration. These implicit
       dependencies can make unit configuration file cleaner. For the
       implicit dependencies in each unit type, please refer to section
       "Implicit Dependencies" in respective man pages.

For example, service units with Type=dbus automatically acquire dependencies of type Requires= and After= on dbus.socket. See systemd.service(5) for details.

Default Dependencies Default dependencies are similar to implicit dependencies, but can be turned on and off by setting DefaultDependencies= to yes (the default) and no, while implicit dependencies are always in effect. See section "Default Dependencies" in respective man pages for the effect of enabling DefaultDependencies= in each unit types.

For example, target units will complement all configured dependencies of type Wants= or Requires= with dependencies of type After= unless DefaultDependencies=no is set in the specified units. See systemd.target(5) for details. Note that this behavior can be turned off by setting DefaultDependencies=no.