From daee3e85001a7bb8716577e84b01aafce8f813bb Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 12 Jul 2026 18:47:15 +0000 Subject: [PATCH] docs: config include (#1554) --- README.md | 3 ++- docs/example2.conf | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e768f63..d368c031 100644 --- a/README.md +++ b/README.md @@ -1337,7 +1337,8 @@ for the above example to work, add the commandline argument `-e2ts` to also scan # server config using arguments or config files, or a mix of both: -* config files (`-c some.conf`) can set additional commandline arguments; see [./docs/example.conf](docs/example.conf) and [./docs/example2.conf](docs/example2.conf) +* using a config-file (`-c some.conf`) is best, easier to read/maintain; see [./docs/example.conf](docs/example.conf) + * for complex and intricate setups, see how [./docs/example2.conf](docs/example2.conf) includes additional config-files/folders with `% copyparty.d` which loads [./docs/copyparty.d/some.conf](docs/copyparty.d/some.conf) * `kill -s USR1` (same as `systemctl reload copyparty`) to reload accounts and volumes from config files without restarting * or click the `[reload cfg]` button in the control-panel if the user has `a`/admin in any volume * changes to the `[global]` config section requires a restart to take effect diff --git a/docs/example2.conf b/docs/example2.conf index b7895d73..09ed0344 100644 --- a/docs/example2.conf +++ b/docs/example2.conf @@ -1,6 +1,7 @@ # you can include additional config like this # (the space after the % is important) # +# specify either a single file or a folder with .conf files; # 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)