From ee1ded58863d0655ac7f6d2758d435709942f9f4 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Sat, 11 Apr 2020 19:09:39 +0800 Subject: [PATCH] Add description --- README.md | 32 ++++++++++++++++++++++++++++++++ init.d/v2ray | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 79c0818..75fabff 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,35 @@ $ curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/insta ``` # ash install-release.sh ``` + +## 管理指令 + +### 啟用 + +``` +# rc-update add v2ray +``` + +### 禁用 + +``` +# rc-update del v2ray +``` + +### 啟動 + +``` +# rc-service v2ray start +``` + +### 關閉 + +``` +# rc-service v2ray stop +``` + +### 重啟 + +``` +# rc-service v2ray restart +``` diff --git a/init.d/v2ray b/init.d/v2ray index ea1cd3f..6eec620 100644 --- a/init.d/v2ray +++ b/init.d/v2ray @@ -29,6 +29,6 @@ checkconfig() { } start_pre() { - export $env + local $env checkconfig }