mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
commit
2628fc7cdc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user