DeBug-lzy/Restart-service-button ↗★ 0
restart-service-button
DSH web plugin: a one-click restart-service button in the top-right corner of the GUI, with a settings page to reposition it. The button survives service restarts.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DeBug-lzy/Restart-service-button说明文档
阅读完整 README ↗使用
- 打开 DSH 网页界面。
- 右上角:点击 重启服务 → 按钮变红 确认重启?(5 秒无操作自动取消)→ 再点一次。
- 服务重启;按钮约 2 秒后变为「请刷新页面」,等服务恢复后点击该按钮即可刷新。按钮已持久安装,随时可用。
调整位置:设置 → 重启按钮 → 修改 距离顶部 (top) / 距离右侧 (right) → 恢复默认 重置为 80 / 20。