Giter Site home page Giter Site logo

Comments (7)

 avatar commented on May 18, 2024

stop_v2ray 執行的前提是:

[[ -n "$(pgrep v2ray)" ]]

是否是以非 systemd 的方式運行著 V2Ray 呢?

from fhs-install-v2ray.

Hill-98 avatar Hill-98 commented on May 18, 2024

没有,刚买的服务器,Ubuntu 18.04,安装之前我也没有检查是否有 v2ray 进程,但是我认为仅靠这个检查有点不严谨。

from fhs-install-v2ray.

 avatar commented on May 18, 2024

好吧,我需要一些時間去嘗試復現該問題。

如果你有解決方案的話,可以發一個 PR。

from fhs-install-v2ray.

 avatar commented on May 18, 2024

我沒有復現該問題,不過,我增加了一個條件判斷:

d72aa48

請執行:

# curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/d72aa48586d730101028fb65dff10c8f48f39733/install-release.sh

這能否解決你所遇見的問題呢?

from fhs-install-v2ray.

Hill-98 avatar Hill-98 commented on May 18, 2024

这个提交解决了问题

from fhs-install-v2ray.

Hill-98 avatar Hill-98 commented on May 18, 2024

我发现我之前那个问题是如何复现的了,我把脚本文件名改成了v2ray.sh,所以pgrep会匹配到,我相信不少用户也会把这个脚本改成带有v2ray字样的文件名,并保存到本地。
可以再进行一次修复,给pgrep加上-x,或者使用pidof代替。

from fhs-install-v2ray.

 avatar commented on May 18, 2024

感謝反饋,我會對此進行修復。

from fhs-install-v2ray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.