第一次提交
Some checks failed
Build and Release / build-and-test (amd64, ubuntu) (push) Failing after 19m29s
Build and Release / build-and-test (amd64, alpine) (push) Failing after 19m31s
Build and Release / build-and-test (arm64, ubuntu) (push) Failing after 50m10s
Build and Release / release (push) Has been cancelled
Build and Release / build-and-test (arm64, alpine) (push) Has been cancelled

This commit is contained in:
2025-12-08 10:11:41 +08:00
commit ae710732aa
10 changed files with 546 additions and 0 deletions

26
debian/p2pool.service vendored Normal file
View File

@@ -0,0 +1,26 @@
[Unit]
Description=P2Pool - Decentralized Monero Mining Pool
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=p2pool
Group=p2pool
WorkingDirectory=/var/lib/p2pool
ExecStart=/usr/local/bin/p2pool --host 127.0.0.1 --rpc-port 18081 --wallet YOUR_MONERO_WALLET_ADDRESS
Restart=on-failure
RestartSec=10s
StandardOutput=journal
StandardError=journal
SyslogIdentifier=p2pool
# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/p2pool /var/log/p2pool
[Install]
WantedBy=multi-user.target