[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