Update use.md

pull/316/head
he liu 2019-12-17 22:17:06 +08:00 committed by GitHub
parent 90a3409aac
commit 7330f9f728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@
## 注册到系统服务 ## 注册到系统服务
对于linux、darwin 对于linux、darwin
- 注册:`sudo ./npc install 其他参数(例如-server=xx -vkey=xx或者-config=xxx` - 注册:`sudo ./npc install 其他参数(例如-server=xx -vkey=xx或者-config=xxx`
- 启动:`sudo ./npc start` - 启动:`sudo npc start`
- 停止:`sudo ./npc stop` - 停止:`sudo npc stop`
- 如果需要更换命令内容需要先卸载`./npc -service=uninstall`,再重新注册 - 如果需要更换命令内容需要先卸载`./npc -service=uninstall`,再重新注册
对于windows使用管理员身份运行cmd 对于windows使用管理员身份运行cmd
@ -23,11 +23,11 @@
## 客户端更新 ## 客户端更新
首先进入到对于的客户端二进制文件目录 首先进入到对于的客户端二进制文件目录
请首先执行`sudo ./npc stop`或者`nps.exe stop`停止运行,然后 请首先执行`sudo npc stop`或者`nps.exe stop`停止运行,然后
对于linux 对于linux
```shell ```shell
sudo ./npc-update update sudo npc-update update
``` ```
对于windows 对于windows
```shell ```shell