From 00ef2f6825ed69421b4d334dc4f3d11833c9a737 Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Thu, 26 Dec 2013 23:21:33 +0100 Subject: [PATCH] Adding some documentation around the /etc/tinc/$NET/conf.d directory. --- doc/tinc.conf.5.in | 2 ++ doc/tinc.texi | 3 +++ 2 files changed, 5 insertions(+) diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index 365a3e33..1e109e2b 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -631,6 +631,8 @@ The top directory for configuration files. .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /tinc.conf The default name of the server configuration file for net .Ar NETNAME . +.It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /conf.d/ +Optional directory from which any *.conf file will be loaded .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /hosts/ Host configuration files are kept in this directory. .It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /tinc-up diff --git a/doc/tinc.texi b/doc/tinc.texi index b86bc09c..2aba7034 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -718,6 +718,9 @@ The actual configuration of the daemon is done in the file @file{@value{sysconfdir}/tinc/@var{netname}/tinc.conf} and at least one other file in the directory @file{@value{sysconfdir}/tinc/@var{netname}/hosts/}. +An optionnal directory @file{@value{sysconfdir}/tinc/@var{netname}/conf.d} can be added from which +any .conf file will be read. + These file consists of comments (lines started with a #) or assignments in the form of -- 2.20.1