feat: 优化 Debian 打包配置并初始化项目文档系统
- 简化 mond.service 配置,改为通过配置文件启动 - 优化 postinst 安装脚本,自动生成配置文件模板 - 优化 postrm 卸载脚本,正确清理数据目录 - 初始化 llmdoc 文档系统,包含项目概览、使用指南、架构说明和参考文档 - 更新 README.md 构建和配置说明 - 移除 .gitignore 中 llmdoc/ 的忽略规则
This commit is contained in:
16
debian/mond.service
vendored
16
debian/mond.service
vendored
@@ -8,20 +8,8 @@ Type=simple
|
||||
# 工作目录
|
||||
WorkingDirectory=/opt/mond
|
||||
|
||||
# 执行命令
|
||||
ExecStart=/opt/mond/mond \
|
||||
--data-dir=/var/lib/mond \
|
||||
--prune-blockchain \
|
||||
--zmq-pub tcp://127.0.0.1:18083 \
|
||||
--out-peers=32 \
|
||||
--in-peers=64 \
|
||||
--add-priority-node=p2pmd.xmrvsbeast.com:18080 \
|
||||
--add-priority-node=nodes.hashvault.pro:18080 \
|
||||
--enforce-dns-checkpointing \
|
||||
--enable-dns-blocklist \
|
||||
--log-level 1 \
|
||||
--log-file=/var/log/mond/mond.log \
|
||||
--non-interactive
|
||||
# 执行命令 - 使用配置文件
|
||||
ExecStart=/opt/mond/mond --config-file=/var/lib/mond/params.conf --non-interactive
|
||||
|
||||
# 重启策略
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user