config/File: add directive "include_optional"

This commit is contained in:
Max Kellermann
2018-07-18 13:10:36 +02:00
parent 035f986a91
commit 09f743dc1a
2 changed files with 17 additions and 1 deletions

View File

@@ -418,6 +418,14 @@ systemctl start mpd.socket</programlisting>
</para>
<programlisting>include "other.conf"</programlisting>
<para>
You can use <varname>include_optional</varname> instead if you
want the included file to be optional; the directive will be
ignored if the file does not exist:
</para>
<programlisting>include_optional "may_not_exist.conf"</programlisting>
</section>
<section id="config_music_directory">