Skip to content
New issue

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

gost 通过守护进程使用? #1027

Open
kevincui889 opened this issue May 10, 2024 · 1 comment
Open

gost 通过守护进程使用? #1027

kevincui889 opened this issue May 10, 2024 · 1 comment

Comments

@kevincui889
Copy link

这个端口中转我使用的后台进行的,怎么使用守护进程使用呢?
nohup ./gost -L relay+tls://:(落地gost监听端口)/127.0.0.1:(上网工具端口) >> /dev/null 2>&1 &

@quaggalinux
Copy link

参考这个issue的用户已经写了一个systemd类似的样板,ExecStart=后面写上你的命令行就可以了
https://github.com/ginuerzh/gost/issues/ 1049

另外你可以在linux上安装python的supervisord,windows的python版安装参考下面项目
https://github.com/alexsilva/supervisor

还可以使用golang版的supervisord实现跨平台,物理机、虚拟机或容器都可用
https://github.com/ochinchina/supervisord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants