镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-07 06:56:47 +00:00
TUNASYNC_WORKING_DIR and TUNASYNC_UPSTREAM_URL as env to shell provider
这个提交包含在:
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
echo $TUNASYNC_LOCAL_DIR
|
||||
echo $TUNASYNC_WORKING_DIR
|
||||
echo $TUNASYNC_LOG_FILE
|
||||
echo $TUNASYNC_UPSTREAM_URL
|
||||
sleep 5
|
||||
exit 1
|
||||
|
||||
@@ -15,7 +15,6 @@ ctrl_addr = "/tmp/tunasync.sock"
|
||||
[btrfs]
|
||||
service_dir = "{mirror_root}/_current/{mirror_name}"
|
||||
working_dir = "{mirror_root}/_working/{mirror_name}"
|
||||
gc_root = "{mirror_root}/_garbage/"
|
||||
gc_dir = "{mirror_root}/_garbage/_gc_{mirror_name}_{{timestamp}}"
|
||||
|
||||
# [[mirrors]]
|
||||
@@ -43,6 +42,7 @@ local_dir = "/mnt/sdb1/mirror/archlinux/current/"
|
||||
name = "arch4"
|
||||
provider = "shell"
|
||||
command = "./shell_provider.sh"
|
||||
upstream = "https://pypi.python.org/"
|
||||
# log_file = "/tmp/arch4-{date}.log"
|
||||
use_btrfs = false
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户