893413974-bit/dsh-setting-restart ↗★ 1
dsh-setting-restart
One-click restart of the DSH service from Settings > General (通用设置 · 一键重启)
AI Analysis
核心用于在DSH Web界面的通用设置中添加“一键重启”功能。适合需要频繁调整配置、希望无需命令行即可快速重启DSH服务的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:893413974-bit/dsh-setting-restartREADME
Read the full README ↗Configuration
The loader entry accepts an optional config block:
- insert:
- id: setting-restart
name: dsh-setting-restart
config:
exitDelayMs: 1500 # delay between the click response and process exit (default 1200)
waitForExitMs: 30000 # how long the helper waits for the old process to exit (default 30000)
respawn: true # set false when a supervisor (systemd/pm2) already restarts the service