Merge branch 'main' of https://github.com/tig-pool-nk/client
This commit is contained in:
commit
e0191aa42b
@ -16,8 +16,7 @@ client_version=$6
|
||||
\mkdir tig_pool
|
||||
cd tig_pool
|
||||
|
||||
pkill pool_tig
|
||||
pkill slave_tig
|
||||
screen -ls | grep pool_tig | awk '{print $1}' | xargs -I {} screen -S {} -X kill
|
||||
|
||||
wget https://raw.githubusercontent.com/tig-pool-nk/client/refs/heads/main/scripts/tig_pool_master.sh
|
||||
sudo chmod +x tig_pool_master.sh
|
||||
|
||||
@ -103,13 +103,12 @@ cargo build -p tig-worker --release
|
||||
cd $current_path
|
||||
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
mkdir -p tig-benchmarker
|
||||
cd tig-benchmarker
|
||||
wget https://raw.githubusercontent.com/tig-pool-nk/client/refs/heads/main/tig-benchmarker/slave.py -O slave.py
|
||||
wget https://raw.githubusercontent.com/tig-pool-nk/client/refs/heads/main/tig-benchmarker/requirements.txt -O requirements.txt
|
||||
pip install -r requirements.txt
|
||||
./venv/bin/pip3 install -r requirements.txt
|
||||
|
||||
# Create a directory client_xnico_pool and navigate to it
|
||||
cd $current_path
|
||||
@ -160,4 +159,4 @@ screen -dmS pool_tig bash -c "cd \"$current_path\" && ./pool_tig_launch_${id_sla
|
||||
|
||||
sleep 5
|
||||
# Attach to the screen
|
||||
screen -r pool_tig
|
||||
screen -d -r pool_tig
|
||||
|
||||
Loading…
Reference in New Issue
Block a user