DeBug-lzy/Restart-service-button0

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.

包名
restart-service-button
版本
1.0.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DeBug-lzy/Restart-service-button

使用

  1. 打开 DSH 网页界面。
  2. 右上角:点击 重启服务 → 按钮变红 确认重启?(5 秒无操作自动取消)→ 再点一次。
  3. 服务重启;按钮约 2 秒后变为「请刷新页面」,等服务恢复后点击该按钮即可刷新。按钮已持久安装,随时可用。

调整位置:设置 → 重启按钮 → 修改 距离顶部 (top) / 距离右侧 (right)恢复默认 重置为 80 / 20。