yoggu/dsh-restart ↗★ 0

dsh-restart

提供快捷命令以安全重启后台systemd服务 适合需要远程或在对话中快速重启、重载系统服务的系统管理员。

包名
dsh-restart
兼容性
待验证
Harness 依赖范围
^0.1.5-rc.2
Cordis 依赖范围
^4.0.2
版本
0.1.1
许可证
MIT
最近更新
2026年9月26日

同名包的其他仓库

安装

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

Usage

/dsh-restart       # configured delay (default: 1 second)
/dsh-restart 10    # restart in 10 seconds

The Plugins → Restart page configures mode (auto, unit, exec), systemd unit, delaySeconds (1–60), and execStdio. auto uses its own systemd unit when detected, otherwise starts a successor process. The running turn is interrupted and the web page reconnects afterward. Only trusted users with access to the DSH command surface should be able to invoke it.