mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +00:00
37 lines
789 B
INI
37 lines
789 B
INI
[global]
|
|
log_dir = /var/log/tunasync
|
|
local_dir = /srv/mirror
|
|
storage_backend = btrfs
|
|
; maximum numbers of running jobs
|
|
concurrent = 2
|
|
; interval in minutes
|
|
interval = 1
|
|
|
|
# [mirror:archlinux]
|
|
# provider = rsync
|
|
# upstream = rsync://mirrors6.ustc.edu.cn/archlinux/
|
|
# local_dir = /mnt/sdb1/mirror/archlinux/current/
|
|
# log_file = /tmp/archlinux-{date}.log
|
|
# use_ipv6 = yes
|
|
|
|
[mirror:archlinux]
|
|
provider = shell
|
|
command = sleep 10
|
|
local_dir = /mnt/sdb1/mirror/archlinux/current/
|
|
log_file = /tmp/archlinux-{date}.log
|
|
|
|
|
|
[mirror:arch2]
|
|
provider = shell
|
|
command = sleep 5
|
|
local_dir = /mnt/sdb1/mirror/archlinux/current/
|
|
log_file = /tmp/arch2-{date}.log
|
|
|
|
|
|
[mirror:arch3]
|
|
provider = shell
|
|
command = ./shell_provider.sh
|
|
local_dir = /mnt/sdb1/mirror/archlinux/current/
|
|
log_file = /tmp/arch3-{date}.log
|
|
|