add config-file preprocessor (%include)

This commit is contained in:
ed
2022-11-04 23:48:14 +00:00
parent e9c6268568
commit b2ab8f971e
7 changed files with 121 additions and 28 deletions

13
docs/example2.conf Normal file
View File

@@ -0,0 +1,13 @@
# you can include additional config like this
# (the space after the % is important)
#
# since copyparty.d is a folder, it'll include all *.conf
# files inside (not recursively) in alphabetical order
# (not necessarily same as numerical/natural order)
#
# paths are relative from the location of each included file
# unless the path is absolute, for example % /etc/copyparty.d
#
# max include depth is 64
% copyparty.d