Skip to content

Commit

Permalink
docs(tunasync): use a single worker.conf file, dropping include
Browse files Browse the repository at this point in the history
  • Loading branch information
bigeagle committed Nov 19, 2016
1 parent add7b93 commit 89f79b9
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions docs/zh_CN/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ listen_port = 6000
ssl_cert = ""
ssl_key = ""
[include]
include_mirrors = "mirrors/*.conf"
[[mirrors]]
name = "elvish"
provider = "rsync"
upstream = "rsync://rsync.elvish.io/elvish/"
use_ipv6 = false
```

`~/tunasync_demo/manager.conf`:
Expand All @@ -78,20 +81,6 @@ db_file = "/tmp/tunasync/manager.db"
ca_cert = ""
```

### 镜像脚本

```
$ mkdir ~/tunasync_demo/mirrors
$ cat > ~/tunasync_demo/mirrors/elvish.conf < EOF
[[mirrors]]
name = "elvish"
provider = "rsync"
upstream = "rsync://rsync.elvish.io/elvish/"
use_ipv6 = false
EOF
```

### 运行

```
Expand Down

0 comments on commit 89f79b9

Please sign in to comment.