添加配置文件管理和完整文档系统
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in 30s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 42s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 41s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 54s
Build and Release / release (push) Has been skipped
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in 30s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 42s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 41s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 54s
Build and Release / release (push) Has been skipped
- 重构配置方式:使用 params.conf 替代命令行参数 - postinst 自动创建配置文件,升级时保护用户配置 - 初始化 llmdoc 文档系统(概述、架构、指南、参考) - 创建 README.md 和配置指南 - 提供完整的配置模板示例 配置文件优势:升级安全、集中管理、易于维护
This commit is contained in:
12
debian/p2pool.service
vendored
12
debian/p2pool.service
vendored
@@ -8,17 +8,7 @@ Type=simple
|
||||
User=p2pool
|
||||
Group=p2pool
|
||||
WorkingDirectory=/var/lib/p2pool
|
||||
ExecStart=/opt/p2pool/p2pool \
|
||||
--host 127.0.0.1 \
|
||||
--rpc-port 18081 \
|
||||
--zmq-port 18083 \
|
||||
--wallet YOUR_MONERO_WALLET_ADDRESS \
|
||||
--merge-mine tari://TARI_NODE_IP:18102 TARI_WALLET_ADDRESS \
|
||||
--p2p 0.0.0.0:37889 \
|
||||
--data-api /var/lib/p2pool/data-api \
|
||||
--local-api \
|
||||
--log-file /var/log/p2pool/p2pool.log \
|
||||
--loglevel 3
|
||||
ExecStart=/opt/p2pool/p2pool --params-file /var/lib/p2pool/params.conf
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
StandardOutput=journal
|
||||
|
||||
Reference in New Issue
Block a user