pull/928/head
Jinqiu Yu 2018-03-06 22:39:13 +08:00
parent 4d1bb21055
commit dde9aaa892
1 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ installV2Ray(){
} }
installInitScrip(){ installInitScript(){
SYSTEMCTL_CMD=$(command -v systemctl) SYSTEMCTL_CMD=$(command -v systemctl)
SERVICE_CMD=$(command -v service) SERVICE_CMD=$(command -v service)
@ -389,7 +389,7 @@ main(){
stopV2ray stopV2ray
fi fi
installV2Ray installV2Ray
installInitScrip installInitScript
if [[ ${V2RAY_RUNNING} -eq 1 ]];then if [[ ${V2RAY_RUNNING} -eq 1 ]];then
colorEcho ${BLUE} "Restarting V2Ray service." colorEcho ${BLUE} "Restarting V2Ray service."
startV2ray startV2ray