mirror of https://github.com/XTLS/Xray-install
Add description
parent
e9b0793779
commit
ee1ded5886
32
README.md
32
README.md
|
@ -11,3 +11,35 @@ $ curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/insta
|
||||||
```
|
```
|
||||||
# ash install-release.sh
|
# ash install-release.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 管理指令
|
||||||
|
|
||||||
|
### 啟用
|
||||||
|
|
||||||
|
```
|
||||||
|
# rc-update add v2ray
|
||||||
|
```
|
||||||
|
|
||||||
|
### 禁用
|
||||||
|
|
||||||
|
```
|
||||||
|
# rc-update del v2ray
|
||||||
|
```
|
||||||
|
|
||||||
|
### 啟動
|
||||||
|
|
||||||
|
```
|
||||||
|
# rc-service v2ray start
|
||||||
|
```
|
||||||
|
|
||||||
|
### 關閉
|
||||||
|
|
||||||
|
```
|
||||||
|
# rc-service v2ray stop
|
||||||
|
```
|
||||||
|
|
||||||
|
### 重啟
|
||||||
|
|
||||||
|
```
|
||||||
|
# rc-service v2ray restart
|
||||||
|
```
|
||||||
|
|
|
@ -29,6 +29,6 @@ checkconfig() {
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
export $env
|
local $env
|
||||||
checkconfig
|
checkconfig
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue