1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

[mirror config] extra rsync options (#107)

* support "rsync_options" array in config

* add test for new options

* fix tests
这个提交包含在:
Yuxiang Zhang
2020-03-09 20:48:09 +08:00
提交者 GitHub
父节点 36010dc33e
当前提交 22cfdfc9c2
共有 6 个文件被更改,包括 49 次插入34 次删除

查看文件

@@ -45,6 +45,7 @@ docker_image = "tunathu/tunasync-scripts:latest"
name = "gnu"
provider = "rsync"
upstream = "rsync://mirrors.ocf.berkeley.edu/gnu/"
rsync_options = [ "--delete-excluded" ]
memory_limit = "256M"
[[mirrors]]
@@ -72,6 +73,7 @@ name = "ubuntu"
provider = "two-stage-rsync"
stage1_profile = "debian"
upstream = "rsync://archive.ubuntu.com/ubuntu/"
rsync_options = [ "--delete-excluded" ]
memory_limit = "256M"
# vim: ft=toml