增加关于一键更新相关的说明
This commit is contained in:
parent
1f681e62bd
commit
2d37af1ac4
@ -19,8 +19,15 @@ pip install -r requirements.txt
|
||||
```bash
|
||||
python main.py
|
||||
```
|
||||
|
||||
打印当前网络的节点信息,并在当前目录下产生文件`smartdns.conf`。
|
||||
|
||||
### 三、一键更新
|
||||
```bash
|
||||
./up_nas_conf.sh
|
||||
```
|
||||
可以自动生成`smartdns.conf`的配置文件,上传到群晖NAS,然后重启容器。
|
||||
- 需要提前设置ssh密钥登陆,否则要手动输入密码
|
||||
- 确保登录用户具有执行docker的权限,sudo需要添加`fengbohan ALL=(ALL) NOPASSWD: ALL` 到文件`/etc/sudoers.d/main`
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user