I have a Linux Mint mining rig and I'm having trouble setting the miner up to run the script as soon as the OS boots up. It runs fine when I launch the miner manually.
Here's the mining script file 'start_only_eth.bash':
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./ethdcrminer64 -epool eth-eu1.nanopool.org:9999 -ewal 0xADDRESS/meAThotmail.com -epsw x -etht 1000 -mode 1 -ftime 10
Here's the autostart line in /etc/init.d/rc.local
./home/ethereum/Desktop/claymore/start_only_eth.bash
For some reason this doesn't start the miner and I don't understand why. I added '>> /home/ethereum/Desktop/ethereum.log' to the end of the line in rc.local and the 'ethereum.log' file did appear on the Desktop but it was empty. I was hoping it would help me troubleshoot the issue and maybe give me some feedback as to what is going wrong. Since the file was created that lets me know that rc.local is seeing this line, but yet my file is still not getting executed. Any ideas? Thanks.
Note that I also tried sourcing the line in rc.local.
Here's the mining script file 'start_only_eth.bash':
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./ethdcrminer64 -epool eth-eu1.nanopool.org:9999 -ewal 0xADDRESS/meAThotmail.com -epsw x -etht 1000 -mode 1 -ftime 10
Here's the autostart line in /etc/init.d/rc.local
./home/ethereum/Desktop/claymore/start_only_eth.bash
For some reason this doesn't start the miner and I don't understand why. I added '>> /home/ethereum/Desktop/ethereum.log' to the end of the line in rc.local and the 'ethereum.log' file did appear on the Desktop but it was empty. I was hoping it would help me troubleshoot the issue and maybe give me some feedback as to what is going wrong. Since the file was created that lets me know that rc.local is seeing this line, but yet my file is still not getting executed. Any ideas? Thanks.
Note that I also tried sourcing the line in rc.local.