Some checks failed
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 29s
Build and Release / build-and-test (amd64, ubuntu) (push) Failing after 16m22s
Build and Release / build-and-test (amd64, alpine) (push) Failing after 16m24s
Build and Release / build-and-test (arm64, alpine) (push) Successful in 28m28s
Build and Release / release (push) Has been skipped
36 lines
775 B
Desktop File
36 lines
775 B
Desktop File
[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=/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 \
|
|
--loglevel 3
|
|
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
|