|
34 | 34 | <para>The main network service file must have the extension <filename>.dnssd</filename>; other |
35 | 35 | extensions are ignored.</para> |
36 | 36 |
|
37 | | - <para>The <filename>.dnssd</filename> files are read from the files located in the system |
38 | | - network directory <filename>/usr/lib/systemd/dnssd</filename>, the volatile runtime network |
39 | | - directory <filename>/run/systemd/dnssd</filename> and the local administration network |
40 | | - directory <filename>/etc/systemd/dnssd</filename>. All configuration files are collectively |
41 | | - sorted and processed in lexical order, regardless of the directories in which they live. |
42 | | - However, files with identical filenames replace each other. Files in <filename>/etc</filename> |
43 | | - have the highest priority, files in <filename>/run</filename> take precedence over files with |
44 | | - the same name in <filename>/usr/lib</filename>. This can be used to override a system-supplied |
45 | | - configuration file with a local file if needed.</para> |
| 37 | + <para>The <filename>.dnssd</filename> files are read from the files located in the system network |
| 38 | + directories <filename>/usr/lib/systemd/dnssd</filename> and |
| 39 | + <filename>/usr/local/lib/systemd/dnssd</filename>, the volatile runtime network directory |
| 40 | + <filename>/run/systemd/dnssd</filename> and the local administration network directory |
| 41 | + <filename>/etc/systemd/dnssd</filename>. All configuration files are collectively sorted and processed in |
| 42 | + lexical order, regardless of the directories in which they live. However, files with identical filenames |
| 43 | + replace each other. Files in <filename>/etc</filename> have the highest priority, files in |
| 44 | + <filename>/run</filename> take precedence over files with the same name in |
| 45 | + <filename>/usr/lib</filename>. This can be used to override a system-supplied configuration file with a |
| 46 | + local file if needed.</para> |
46 | 47 |
|
47 | 48 | <para>Along with the network service file <filename>foo.dnssd</filename>, a "drop-in" directory |
48 | 49 | <filename>foo.dnssd.d/</filename> may exist. All files with the suffix |
49 | 50 | <literal>.conf</literal> from this directory will be parsed after the file itself is |
50 | 51 | parsed. This is useful to alter or add configuration settings, without having to modify the main |
51 | 52 | configuration file. Each drop-in file must have appropriate section headers.</para> |
52 | 53 |
|
53 | | - <para>In addition to <filename>/etc/systemd/dnssd</filename>, drop-in <literal>.d</literal> |
54 | | - directories can be placed in <filename>/usr/lib/systemd/dnssd</filename> or |
55 | | - <filename>/run/systemd/dnssd</filename> directories. Drop-in files in |
56 | | - <filename>/etc</filename> take precedence over those in <filename>/run</filename> which in turn |
57 | | - take precedence over those in <filename>/usr/lib</filename>. Drop-in files under any of these |
58 | | - directories take precedence over the main network service file wherever located. (Of course, since |
59 | | - <filename>/run</filename> is temporary and <filename>/usr/lib</filename> is for vendors, it is |
60 | | - unlikely drop-ins should be used in either of those places.)</para> |
| 54 | + <para>In addition to <filename>/etc/systemd/dnssd</filename>, drop-in <literal>.d</literal> directories |
| 55 | + can be placed in <filename>/usr/lib/systemd/dnssd</filename> or <filename>/run/systemd/dnssd</filename> |
| 56 | + directories. Drop-in files in <filename>/etc</filename> take precedence over those in |
| 57 | + <filename>/run</filename> which in turn take precedence over those in <filename>/usr/lib</filename> or |
| 58 | + <filename>/usr/local/lib</filename>. Drop-in files under any of these directories take precedence over |
| 59 | + the main network service file wherever located.</para> |
61 | 60 | </refsect1> |
62 | 61 |
|
63 | 62 | <refsect1> |
|
0 commit comments