parent
f0eacd1ca5
commit
b7fda81f62
|
@ -508,8 +508,8 @@ main() {
|
|||
fi
|
||||
|
||||
# Determine if V2Ray is running
|
||||
if [[ -n "$(systemctl list-unit-files | grep 'v2ray')" ]]; then
|
||||
if [[ -n "$(pidof v2ray)" ]]; then
|
||||
if systemctl list-unit-files | grep -q 'v2ray'; then
|
||||
if pidof v2ray; then
|
||||
stop_v2ray
|
||||
V2RAY_RUNNING='1'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue