summaryrefslogtreecommitdiff
path: root/man/systemd.service.xml
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2019-10-16 23:10:05 -0400
committerGitHub <noreply@github.com>2019-10-16 23:10:05 -0400
commit959daf9bfc6617169710ef226718be90ab9f9037 (patch)
tree5071572a5ed18705fe1b786d3ac2fa9edf49da6b /man/systemd.service.xml
parent7f66ff56eba575b3d6f20955986c614896d4b90a (diff)
parentd272467882c9c3c3d4faca5fd7a1f44c5ef2f064 (diff)
downloadsystemd-959daf9bfc6617169710ef226718be90ab9f9037.tar.gz
Merge pull request #13743 from anitazha/dropin_all_the_things
core: support top level drop-ins through -.service.d for service units
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index f57e37ca5b..ce7b847420 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>