Modular Configuration for netconfd-pro
The --confdir parameter for netconfd-pro specifies the CLI parameter configuration directory to use for extra configuration files.
The server will check this directory for files that end with the suffix '.conf' and process them similar to the main configuration file.
Other files will be ignored.
NOTE: Files found in the specified --confdir will be processed in alphabetical order.
The server will use the first value set if a CLI leaf parameter is set multiple times.
Setting the confdir parameter
The CLI parameters are set in the following order:
1) netconfd-pro command line using the --config parameter:
Example of a user setting the configuration file for netconfd-pro in the command line: user@server:~$ netconfd-pro --config=/etc/yumapro/netconfd-pro_test.conf
2) Default config file location, /etc/yumapro/netconfd-pro.conf
3) --confdir files or /etc/yumapro/netconfd-pro.d/
Example of a user setting the configuration directory for netconfd-pro in the command line: user@server:~$ netconfd-pro --confdir=/etc/yumapro/aux_conf/
NOTES:
- If the --no-config parameter is present in step 1) then steps 2) and 3) will be skipped, and the --confdir parameter will be ignored.
- If the --confdir parameter is encountered in step 3) it will be ignored.
- Extra configuration files in step 3) have the exact same syntax as the configuration file used in step 2).
Example extra config file testmods.conf: netconfd-pro { module acme-test1 module acme-test2 log-level debug2 message-indent 1 idle-timeout 0 }