BuildTools 9 months ago
parent
commit
0ba8fc46c7
2 changed files with 8 additions and 8 deletions
  1. 1 1
      options/chia.sh
  2. 7 7
      options/foxy-pool.sh

+ 1 - 1
options/chia.sh

@@ -7,7 +7,7 @@ GigaHorse_farmer=Yes
 
 MadMax=Yes
 GigaHorse=Yes
-BladeBit=Yes
+BladeBit=No
 ChiaPos=no
 
 H9_ChiaService=No

+ 7 - 7
options/foxy-pool.sh

@@ -3,7 +3,7 @@ FoxyPool_service=Yes
 FoxyPool_service=${FoxyPool_service^^}
 
 if [ -f /tmp/latest ]; then rm /tmp/latest ; fi
-curl -s https://api.github.com/repos/foxypool/foxy-gh-farmer/releases/latest > /tmp/latest
+curl -s https://api.github.com/repos/foxypool/foxy-farmer/releases/latest > /tmp/latest
 VERSION=$(cat /tmp/latest | grep "tag_name" | awk {'print$2'} | tr -d \",)
 URL=$(cat /tmp//latest |grep "browser_download_url.*ubuntu.zip" |  cut -d : -f 2,3 | tr -d \")
 
@@ -71,15 +71,15 @@ fi
 echo -e "$(tput setaf 10)\nInstall Foxy-gh-Farmer:$(tput sgr0)"
 cd ~/miners/foxypool
 wget -q $URL
-unzip -q -o foxy-gh-farmer-ubuntu.zip
-rm foxy-gh-farmer-ubuntu.zip
+unzip -q -o foxy-farmer-ubuntu.zip
+rm foxy-farmer-ubuntu.zip
 echo -e "\e[97mDone.\e[0m"
 
 function foxypool_service_ {
 echo -e "$(tput setaf 10)\nInstall FoxyPool service :$(tput sgr0)"
 cat > $HOME/foxypool.service << EOF
 [Unit]
-Description=Foxy-GH-Farmer Service
+Description=Foxy-Farmer Service
 After=network.target
 Wants=network-online.target
 
@@ -87,13 +87,13 @@ Wants=network-online.target
 Type=simple
 User=$USER
 WorkingDirectory=$HOME/miners/foxypool
-ExecStart=$HOME/miners/foxypool/foxy-gh-farmer -c $HOME/miners/foxypool/foxy-gh-farmer.yaml
+ExecStart=$HOME/miners/foxypool/foxy-farmer -c $HOME/miners/foxypool/foxy-farmer.yaml
 Restart=on-failure
 RestartSec=30
 LimitNOFILE=99999
 StandardOutput=syslog
 StandardError=syslog
-SyslogIdentifier=foxy-gh-farmer
+SyslogIdentifier=foxy-farmer
 
 [Install]
 WantedBy=multi-user.target
@@ -102,7 +102,7 @@ sudo mv $HOME/foxypool.service /etc/systemd/system/foxypool.service  >/dev/null
 sudo chmod 644 /etc/systemd/system/foxypool.service
 
 cat <<'EOF'>> foxypool.conf
-if $programname == 'foxy-gh-farmer' then /var/log/foxypool.log
+if $programname == 'foxy-farmer' then /var/log/foxypool.log
 & stop
 EOF
 sudo cp foxypool.conf /etc/rsyslog.d/foxypool.conf