We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关闭时,有时端口被占用,建议:有masterstart.py 和 masterstop.py 管理进程
The text was updated successfully, but these errors were encountered:
我个人的理解是,如何关闭,完全取决于你是如何启动 master.py 和 slaver.py 的。 如果是从命令行启动的,那么 ctrl-C 退出即可。 如果是使用自制的 systemd 脚本启动的,那么 systemctl stop 那个服务即可。
我刚才测试了一下,如果是通过 ssh 远程连接到 master 的服务器上命令行启动了 master.py, 不使用ctrl-c 终止进程,直接强制退出 ssh 链接,此时好像服务器上的 master.py 还在运行,端口转发功能还在正常工作。此时,我结束的方法是在公网服务器上使用 top 命令然后找到 python3 那个进程,然后 kill 掉即可。
Sorry, something went wrong.
No branches or pull requests
关闭时,有时端口被占用,建议:有masterstart.py 和 masterstop.py 管理进程
The text was updated successfully, but these errors were encountered: