From 6d09b2105fb5fa6e6245e7b024bfbe465b1041ee Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Thu, 15 Dec 2011 19:40:58 -0500 Subject: include_if_exists facility for config file. This works the same as include, except that an error is not thrown if the file is missing. Instead the fact that it's missing is logged. Greg Smith, reviewed by Euler Taveira de Oliveira. --- doc/src/sgml/config.sgml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index d1e628fefca..0cc329691dd 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -89,6 +89,18 @@ include 'filename' Inclusions can be nested. + + + include_if_exists + in configuration file + + Use the same approach as the include directive, continuing + normally if the file does not exist. A regular include + will stop with an error if the referenced file is missing, while + include_if_exists does not. A warning about the missing + file will be logged. + + SIGHUP -- cgit v1.2.3