dsh-restart
提供快捷命令以安全重启后台systemd服务 适合需要远程或在对话中快速重启、重载系统服务的系统管理员。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yoggu/dsh-restart说明文档
阅读完整 README ↗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.