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 @@ +
~/.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_worker
的elvish
镜像:
+
+1. 删除存放镜像的文件夹
+
+1. 删除worker.conf
中对应的mirror段落
+
+1. 接着操作:
+$ tunasynctl reload -w test_worker
+$ tunasynctl disable -w test_worker elvish
+$ tunasynctl flush
+
+1. (可选)最后删除日志文件夹里的日志
+----
+
+$ tunasynctl rm-worker -w [worker_id]
+
+e.g. $ tunasynctl rm-worker -w test_worker