-
-
Save polarker/d7f7a9903106c6184cf76fad4e695294 to your computer and use it in GitHub Desktop.
Auto restart miner in case of crash
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
until /bin/gpu-miner 1>>miner.log 2>>error.log; do | |
echo "Miner crashed with exit code $?. Respawning.." >> error.log | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment