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

如何后台运行proxy_on #71

Open
kelvinjason opened this issue Jul 6, 2024 · 3 comments
Open

如何后台运行proxy_on #71

kelvinjason opened this issue Jul 6, 2024 · 3 comments

Comments

@kelvinjason
Copy link

如题

@kelvinjason kelvinjason changed the title 如何后端运行proxy_on 如何后台运行proxy_on Jul 6, 2024
@ShengjieJin
Copy link

可以试试tmux

如题

@kelvinjason
Copy link
Author

可以试试tmux

如题

试过你仓库的tmux command,还是不行,好像没有执行proxy_on就不能代理上

@ShengjieJin
Copy link

可以试试tmux

如题

试过你仓库的tmux command,还是不行,好像没有执行proxy_on就不能代理上

啊哈,我仓库里提供的是没有root权限的clash运行方法,使用的话得按照我仓库里的步骤先配置好conf/config.yaml。

你的需求是后台运行clash,可以先用tmux新建一个叫clash的会话
tmux new -s clash
然后接入这个会话
tmux attach -t clash
在这个会话里,按照这个clash-for-linux-backup仓库里的步骤执行脚本
sudo bash start.sh
...

运行成功你就可以切到其他会话,clash会在后台运行。
具体你可以查查tmux的教程

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