Update gpu.sh

This commit is contained in:
Jozef Jaroščiak 2023-09-29 22:54:27 -04:00 committed by GitHub
parent 5a40820fd3
commit b40096e260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
gpu.sh
View File

@ -20,5 +20,9 @@ sed -i 's/account = 0x24691e54afafe2416a8252097c9ca67557271475/account = 0xca5F0
pip install -U -r requirements.txt pip install -U -r requirements.txt
# Launch the miner and associated Python script # Launch the miner and associated Python script
(for i in {1..3}; do nohup ./xengpuminer -b 1000 &> /dev/null & done) & (for i in {1..4}; do nohup ./xengpuminer -b 400 &> /dev/null & done) &
nohup python3 miner.py &> /dev/null & nohup python3 miner.py &> /dev/null &
# Maintenance
# pkill -f "xengpuminer"