From 20c887cfc05c5abdc381cd33fcad2df05d24de26 Mon Sep 17 00:00:00 2001 From: devZer0 Date: Fri, 6 Mar 2026 16:59:48 +0100 Subject: [PATCH 1/2] rsyncd.conf: document the purpose of the temp_dir parameter Add a description explaining that temp_dir can also configured in rsyncd.conf --- rsyncd.conf.5.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rsyncd.conf.5.md b/rsyncd.conf.5.md index 2f257659d..b4caee580 100644 --- a/rsyncd.conf.5.md +++ b/rsyncd.conf.5.md @@ -1073,6 +1073,16 @@ in the values of parameters. See that section for details. **system()** call's default shell), and use RSYNC_NO_XFER_EXEC to disable both options completely. +0. `temp_dir` + + Specifies a directory that rsync should use for temporary files created + during the transfer of updated files. If that directory is on a different + partition, after transfer file is being copied instead of unlinked. + + This parameter equals with `--temp-dir` option, so please consult rsync + manpage for further information. + + ## CONFIG DIRECTIVES There are currently two config directives available that allow a config file to From 687ab3a4e197692e9373cada957bdc21f606c75a Mon Sep 17 00:00:00 2001 From: devZer0 Date: Fri, 6 Mar 2026 17:08:49 +0100 Subject: [PATCH 2/2] fix typo in param should be temp dir, not temp_dir --- rsyncd.conf.5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsyncd.conf.5.md b/rsyncd.conf.5.md index b4caee580..816687e6c 100644 --- a/rsyncd.conf.5.md +++ b/rsyncd.conf.5.md @@ -1073,7 +1073,7 @@ in the values of parameters. See that section for details. **system()** call's default shell), and use RSYNC_NO_XFER_EXEC to disable both options completely. -0. `temp_dir` +0. `temp dir` Specifies a directory that rsync should use for temporary files created during the transfer of updated files. If that directory is on a different