diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2019-10-04 17:39:34 -0700 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2019-10-15 11:14:54 -0700 |
commit | d272467882c9c3c3d4faca5fd7a1f44c5ef2f064 (patch) | |
tree | 7d35f1ccd84002012461a566b31b786dcb9db64b /man/systemd.service.xml | |
parent | f18f809c07ec082a3006666c7c7e20f7045c4d87 (diff) | |
download | systemd-d272467882c9c3c3d4faca5fd7a1f44c5ef2f064.tar.gz |
shared/dropin: support -.service.d/ top level drop-in for service units
Closes #12830
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index af14eedfcc..7d120c3243 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -63,6 +63,19 @@ <para>The <citerefentry><refentrytitle>systemd-run</refentrytitle><manvolnum>1</manvolnum></citerefentry> command allows creating <filename>.service</filename> and <filename>.scope</filename> units dynamically and transiently from the command line.</para> + + <para>In addition to the various drop-in behaviors described in + <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + services also support a top-level drop-in with <filename>-.service.d/</filename> that allows + altering or adding to the settings of all services on the system. + The formatting and precedence of applying drop-in configurations follow what is defined in + <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. + However, configurations in <filename>-.service.d/</filename> have the lowest precedence compared to settings + in the service specific override directories. For example, for <filename>foo-bar-baz.service</filename>, + drop-ins in <filename>foo-bar-baz.service.d/</filename> override the ones in + <filename>foo-bar-.service.d/</filename>, which override the ones <filename>foo-.service.d/</filename>, + which override the ones in <filename>-.service.d/</filename>. + </para> </refsect1> <refsect1> |