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.