DSH WebUI 重启按钮(systemd 版)
RoyougiShiki/dsh-restart-systemd · 生产力
DSH WebUI 重启按钮(systemd 版):侧栏一键重启 dsh-web,WSL/Linux systemd 通道 + Windows 分支,/restart 命令,会话自动续接
★ 2GitHub 星标
0分支
2026-08-25最近更新
TypeScript开发语言
MIT许可证
主要功能
- GitHub topics(主代理创建仓库时使用)dsh · dsh-plugin · restart · systemd
- flag 文件 $DSH_HOME/dsh-restart.flag:spawn 前写入,boot 消费一次即删,绝不自行触发重启 → 残留 flag 无法造成二次重启。
- cordis.patch.yml 注入一行双面插件,安装后 host+client 同时挂载,无需手改 bundle
- /restart 命令聊天输入 /restart → 返回确认文本。
- 残留窗口插件驱动的 boot(flag 被消费)后 15s 内再次点击 → 429,防重试乒乓。
使用条件
- 单一服务单元systemctl 命令固定 dsh-web(SYSTEMD_UNIT)。
- 非 systemctl 启动则不生效若以 node … 手跑,spawn systemctl 会失败并记日志,不产生重启。
安装命令
dsh plugin --profile web add github:RoyougiShiki/dsh-restart-systemd