1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 23:06:14 -04:00
This commit is contained in:
Jinqiu Yu 2018-03-06 22:39:13 +08:00
parent 4d1bb21055
commit dde9aaa892

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