XMRIG als Linux-Service anlegen
nano /etc/systemd/system/xmrig.service
[Unit]
Description=XMRig Daemon
After=network.target
[Service]
User=user #richtigen User eintragen
Group=user #richtige Gruppe eintragen
Type=simple
ExecStart=/home/user/xmrig/xmrig --config="/Pfad/zur/xmrig/config.json"
Restart=always
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable xmrig.service
systemctl start xmrig.service
systemctl status xmrig.service
systemctl stop xmrig.service
Quelle: monero.stackexchange: Is there a command to stop xmrig that runs in background?
No Comments