diff --git a/docs/zh_CN/tips.md b/docs/zh_CN/tips.md new file mode 100644 index 0000000..a07badc --- /dev/null +++ b/docs/zh_CN/tips.md @@ -0,0 +1,37 @@ +
  • 删除某worker的某镜像 + +先确定已经给tunasynctl写好config文件:~/.config/tunasync/ctl.conf +
    manager_addr = "127.0.0.1"
    +manager_port = 12345
    +ca_cert = ""
    + + +接着 +
    $ tunasynctl disable -w [worker_id] [mirror_name]
    +$ tunasynctl flush
    + +
  • 热重载worker.conf + +$ tunasynctl reload -w [worker_id] + +---- + +e.g. 删除test_workerelvish镜像: + +1. 删除存放镜像的文件夹 + +1. 删除worker.conf中对应的mirror段落 + +1. 接着操作: +
    $ tunasynctl reload -w test_worker
    +$ tunasynctl disable -w test_worker elvish
    +$ tunasynctl flush
    + +1. (可选)最后删除日志文件夹里的日志 +---- + +
  • 删除worker + +$ tunasynctl rm-worker -w [worker_id] + +e.g. $ tunasynctl rm-worker -w test_worker