zhouchengke2046/dsh-restart0

dsh-restart

独立的 DSH Web 服务一键重启插件,在设置页面中提供入口。

AI 分析

核心用途是无需通过终端命令行,直接在网页端重启 DSH 后台服务。适合经常调整配置、安装插件而需要频繁重启服务的 DSH 网页端用户。

套件
dsh-restart
版本
0.1.0
授權
MIT
最近更新
2026年8月19日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhouchengke2046/dsh-restart

配置 / Configuration

默认说明
restartEnabledtrue是否注册重启路由
restartCommand""覆盖重启命令;留空则 macOS 自动用 launchctl kickstart -k gui//
restartLabelcom.dsh.weblaunchd agent 标签
restartDelayMs600响应发出后延迟执行重启的毫秒数

覆盖方式(profile 的 cordis.patch.yml):

- insert:
    - id: dsh-restart
      name: dsh-restart
      config:
        restartEnabled: true
        restartLabel: com.dsh.web