BuildTools 10 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
 MadMax=Yes
 GigaHorse=Yes
 GigaHorse=Yes
-BladeBit=Yes
+BladeBit=No
 ChiaPos=no
 ChiaPos=no
 
 
 H9_ChiaService=No
 H9_ChiaService=No

+ 7 - 7
options/foxy-pool.sh

@@ -3,7 +3,7 @@ FoxyPool_service=Yes
 FoxyPool_service=${FoxyPool_service^^}
 FoxyPool_service=${FoxyPool_service^^}
 
 
 if [ -f /tmp/latest ]; then rm /tmp/latest ; fi
 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 \",)
 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 \")
 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)"
 echo -e "$(tput setaf 10)\nInstall Foxy-gh-Farmer:$(tput sgr0)"
 cd ~/miners/foxypool
 cd ~/miners/foxypool
 wget -q $URL
 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"
 echo -e "\e[97mDone.\e[0m"
 
 
 function foxypool_service_ {
 function foxypool_service_ {
 echo -e "$(tput setaf 10)\nInstall FoxyPool service :$(tput sgr0)"
 echo -e "$(tput setaf 10)\nInstall FoxyPool service :$(tput sgr0)"
 cat > $HOME/foxypool.service << EOF
 cat > $HOME/foxypool.service << EOF
 [Unit]
 [Unit]
-Description=Foxy-GH-Farmer Service
+Description=Foxy-Farmer Service
 After=network.target
 After=network.target
 Wants=network-online.target
 Wants=network-online.target
 
 
@@ -87,13 +87,13 @@ Wants=network-online.target
 Type=simple
 Type=simple
 User=$USER
 User=$USER
 WorkingDirectory=$HOME/miners/foxypool
 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
 Restart=on-failure
 RestartSec=30
 RestartSec=30
 LimitNOFILE=99999
 LimitNOFILE=99999
 StandardOutput=syslog
 StandardOutput=syslog
 StandardError=syslog
 StandardError=syslog
-SyslogIdentifier=foxy-gh-farmer
+SyslogIdentifier=foxy-farmer
 
 
 [Install]
 [Install]
 WantedBy=multi-user.target
 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
 sudo chmod 644 /etc/systemd/system/foxypool.service
 
 
 cat <<'EOF'>> foxypool.conf
 cat <<'EOF'>> foxypool.conf
-if $programname == 'foxy-gh-farmer' then /var/log/foxypool.log
+if $programname == 'foxy-farmer' then /var/log/foxypool.log
 & stop
 & stop
 EOF
 EOF
 sudo cp foxypool.conf /etc/rsyslog.d/foxypool.conf
 sudo cp foxypool.conf /etc/rsyslog.d/foxypool.conf