Skip to content

Commit

Permalink
chore: 更换start-stop-daemon启动clash服务
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaov committed Apr 22, 2024
1 parent a712cb4 commit 8b6efde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion clash/scripts/clash_control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,8 @@ service_start() {
[[ "$?" != "0" ]] && LOGGER "配置文件格式错误!修正好配置文件后再尝试启动!" && return 1

LOGGER "启动配置文件 ${config_file} : 检测完毕!"
nohup ${CMD} >/dev/null 2>&1 &
# nohup ${CMD} >/dev/null 2>&1 & # ${BINFILE} ${PARAMS}
start-stop-daemon -b --start -x ${BINFILE} -- ${PARAMS}
# 节省了下面检测时间,这样会无法识别启动失败结果
# sleep 1
# if status >/dev/null 2>&1; then
Expand Down
4 changes: 2 additions & 2 deletions clash/webs/Module_clash.asp
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,8 @@
<!--插件特点-->
<p style="color:#FC0;">
<b><a style="color: rgb(0, 255, 60);font-size: 16px;" href="https://github.com/vxiaov/vClash">vClash目标</a></b>:实现一个简单、安装即用的科学上网插件,支持ss/ssr/v2ray/trojan等方式科学上网。<br/>
<b style="color: rgb(0, 255, 60);font-size: 16px;">1.问题反馈:</b>访问<a style="color: rgb(0, 255, 60);" href="https://github.com/vxiaov/vClash/issues" target="_blank">vClash项目>新建Issue</a>反馈你的问题,请尽量详细描述问题现象,将你的<b>路由信息</b>内容也包含在内。
<b>透明代理模式说明: NAT模式(不支持IPv6透传,但国内直连正常), TPROXY模式(支持IPv6透传)</b>
<b style="color: rgb(0, 255, 60);font-size: 16px;">1.问题反馈:</b>访问<a style="color: rgb(0, 255, 60);" href="https://github.com/vxiaov/vClash/issues" target="_blank">vClash项目>新建Issue</a>反馈你的问题,请尽量详细描述问题现象,将你的<b>路由信息</b>内容也包含在内。<br />
<b>透明代理模式说明: NAT模式(不支持IPv6透传,但国内直连正常), TPROXY模式(支持IPv6透传)</b> <br />
</p>
<hr>
</div>
Expand Down

0 comments on commit 8b6efde

Please sign in to comment.