-
-
Save pasrom/fa352b8b3193e87d5cf256d1e854612c to your computer and use it in GitHub Desktop.
systemd-unit for xmrig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=XMRig Daemon | |
After=network.target | |
[Service] | |
Type=forking | |
GuessMainPID=no | |
ExecStart=/usr/local/bin/xmrig -c /home/miner/config/config.json -l /home/miner/xmrig.log -B | |
Restart=always | |
User=miner | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment