dsh-restart-autostart
DSH 插件,支持 macOS launchd、Linux systemd 及 Windows 服务三种系统守护机制,实现开机自动拉起进程并在崩溃后自动重启,保障服务持续稳定运行。
查看原仓库英文描述
在 DSH 网页版「设置 → 通用」加入进程控制行:手动重启 dsh web 宿主进程,以及「跟随系统启动」勾选框(写入 macOS launchd / Linux systemd / Windows 服务自启条目,开机拉起并在崩溃后自动重启)。
基础信息核对
自动核对项目活跃度
数据覆盖 60% · 有限数据 · 数据截至 2026-10-18
8 次提交 · 最近推送 5 天前
0 个样本 · 暂不计分
0 个样本 · 暂不计分
3 位近 90 天活跃贡献者
未发现GitHub Release
1 Stars · 0 Forks
安装
dsh plugin --profile web add github:felixpu/dsh-restart-autostart
首次安装 GitHub 来源的包时,可能需要在 profile 的 pnpm-workspace.yaml 的 allowBuilds 中允许该包的构建脚本;也可用 github:felixpu/dsh-restart-autostart#<commit-sha> 锁定版本。详见官方文档。
还没有 DSH?两步开始 →
第一步:准备 Node.js 环境
DSH 依赖 Node.js(建议 20 LTS 或更新版本)。终端里运行 node -v 能显示版本号即已就绪。
已有 Node.js:直接进入第二步。
没有 Node.js:去 nodejs.org 下载 LTS 安装包(Windows/macOS 双击安装);或用包管理器:
brew install nodewinget install OpenJS.NodeJS.LTS第二步:启动 DSH
无需安装,直接运行:
npx @deepseek-ai/dsh web浏览器打开 http://127.0.0.1:3080,在 Web UI 的插件市场里搜索 dsh-restart-autostart,或粘贴上面的安装命令。