Skip to content

[wip] 仅仅必要时才使用管理员权限 - #4

Closed
chenweiyi wants to merge 2 commits into
zcf0508:mainfrom
chenweiyi:main
Closed

chenweiyi wants to merge 2 commits into
zcf0508:mainfrom
chenweiyi:main

Conversation

@chenweiyi

@chenweiyi chenweiyi commented Apr 30, 2024 •

Copy link
Copy Markdown
Contributor

目前这个版本卡在启动caddy这里,因为使用的是exec启动的,导致caddy进程卡住主进程,帮忙看下

@zcf0508

zcf0508 commented Oct 22, 2026

Copy link
Copy Markdown
Owner

这个方向已经在 #7 重新实现了:主进程保持用户身份,只有 helper 子进程提权;Caddy 的二进制与配置在 helper 启动时固定,不经 socket 传递;异常退出(含 SIGKILL)由 socket 断开触发清理。你原来遇到的 exec 阻塞问题也在那边避开了。

@zcf0508 zcf0508 closed this Oct 23, 2026
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

Successfully merging this pull request may close these issues.

2 participants