From 8331eaabc7093a879914494e6b397f5a28f3cac9 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Wed, 8 Feb 2017 00:58:02 +0100 Subject: [PATCH] man: document *.d/ drop-in file order (#5262) --- man/systemd.unit.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index dbb0dc7bd7..eb00a2e88e 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -203,7 +203,8 @@ /run/systemd/system directories. Drop-in files in /etc take precedence over those in /run which in turn take precedence over those in /usr/lib. Drop-in files under any of these directories take precedence - over unit files wherever located. + over unit files wherever located. Multiple drop-in files with different names are applied in + lexicographic order, regardless of which of the directories they reside in. @@ -1343,7 +1344,7 @@ ExecStart=/usr/sbin/foo-daemon file name.conf there that only changes the specific settings one is interested in. Note that multiple such drop-in files are read if - present. + present, processed in lexicographic order of their filename. The advantage of the first method is that one easily overrides the complete unit, the vendor unit is not parsed at