1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=XMR Miner After=network.target [Service] WorkingDirectory=/var/lib/xmr_stak Type=simple User=xmr_stak Group=xmr_stak ExecStart=/usr/bin/cpulimit --limit 90 /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf Nice=19 [Install] WantedBy=multi-user.target