Here's a guide on how I setup xmrig to run as a Launchd daemon. Refer to here for more infomation
-
Build and launch xmrig where ever you want and change the
WorkingDirectory
key to where you built xmrig. -
After testing it move your plist file into
/Library/LaunchDaemons
. -
Disable sleep
sudo pmset -a disablesleep 1
If you're thankful send a tip to my XMR wallet: 45ynyPQi18vNFvoDGvoT6W6RyrdeahPurVvpxajc4d116fz4jWsqzFD2HkDFMoVp4Zeqvi17kRZt9Lna8Lt8xeZdShzLnkW