Skip to content

Commit

Permalink
Fix redirect.
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Oct 11, 2023
1 parent 7380b27 commit e9a4deb
Show file tree
Hide file tree
Showing 30 changed files with 59 additions and 59 deletions.
4 changes: 2 additions & 2 deletions scripts/forks/apple_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.apple/mainnet/config/ssl/ &> /dev/null
apple init --fix-ssl-permissions 2>&1 >/dev/null
apple init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -101,7 +101,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.apple/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
apple init -c /root/.apple/farmer_ca 2>&1 > /root/.apple/mainnet/log/init.log
chmod 755 -R /root/.apple/mainnet/config/ssl/ &> /dev/null
apple init --fix-ssl-permissions 2>&1 >/dev/null
apple init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.apple/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/ballcoin_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.ball/mainnet/config/ssl/ &> /dev/null
ball init --fix-ssl-permissions 2>&1 >/dev/null
ball init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -103,7 +103,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.ball/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
ball init -c /root/.ball/farmer_ca 2>&1 > /root/.ball/mainnet/log/init.log
chmod 755 -R /root/.ball/mainnet/config/ssl/ &> /dev/null
ball init --fix-ssl-permissions 2>&1 >/dev/null
ball init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.ball/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/bpx_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.bpx/mainnet/config/ssl/ &> /dev/null
bpx init --fix-ssl-permissions 2>&1 >/dev/null
bpx init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -104,7 +104,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.bpx/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
bpx init -c /root/.bpx/farmer_ca 2>&1 > /root/.bpx/mainnet/log/init.log
chmod 755 -R /root/.bpx/mainnet/config/ssl/ &> /dev/null
bpx init --fix-ssl-permissions 2>&1 >/dev/null
bpx init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.bpx/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/btcgreen_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.btcgreen/mainnet/config/ssl/ &> /dev/null
btcgreen init --fix-ssl-permissions 2>&1 >/dev/null
btcgreen init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -106,7 +106,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.btcgreen/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
btcgreen init -c /root/.btcgreen/farmer_ca 2>&1 > /root/.btcgreen/mainnet/log/init.log
chmod 755 -R /root/.btcgreen/mainnet/config/ssl/ &> /dev/null
btcgreen init --fix-ssl-permissions 2>&1 >/dev/null
btcgreen init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.btcgreen/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/cactus_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.cactus/mainnet/config/ssl/ &> /dev/null
cactus init --fix-ssl-permissions 2>&1 >/dev/null
cactus init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -109,7 +109,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.cactus/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
cactus init -c /root/.cactus/farmer_ca 2>&1 > /root/.cactus/mainnet/log/init.log
chmod 755 -R /root/.cactus/mainnet/config/ssl/ &> /dev/null
cactus init --fix-ssl-permissions 2>&1 >/dev/null
cactus init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.cactus/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/chia_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.chia/mainnet/config/ssl/ &> /dev/null
chia init --fix-ssl-permissions 2>&1 >/dev/null
chia init --fix-ssl-permissions >/dev/null 2>&1

/usr/bin/bash /machinaris/scripts/gpu_drivers_setup.sh

Expand Down Expand Up @@ -124,7 +124,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.chia/farmer_ca/chia_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
chia init -c /root/.chia/farmer_ca 2>&1 > /root/.chia/mainnet/log/init.log
chmod 755 -R /root/.chia/mainnet/config/ssl/ &> /dev/null
chia init --fix-ssl-permissions 2>&1 >/dev/null
chia init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.chia/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/chinilla_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.chinilla/vanillanet/config/ssl/ &> /dev/null
chinilla init --fix-ssl-permissions 2>&1 >/dev/null
chinilla init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -105,7 +105,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.chinilla/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
chinilla init -c /root/.chinilla/farmer_ca 2>&1 > /root/.chinilla/vanillanet/log/init.log
chmod 755 -R /root/.chinilla/vanillanet/config/ssl/ &> /dev/null
chinilla init --fix-ssl-permissions 2>&1 >/dev/null
chinilla init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.chinilla/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/coffee_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.coffee/mainnet/config/ssl/ &> /dev/null
coffee init --fix-ssl-permissions 2>&1 >/dev/null
coffee init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -101,7 +101,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.coffee/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
coffee init -c /root/.coffee/farmer_ca 2>&1 > /root/.coffee/mainnet/log/init.log
chmod 755 -R /root/.coffee/mainnet/config/ssl/ &> /dev/null
coffee init --fix-ssl-permissions 2>&1 >/dev/null
coffee init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.coffee/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/cryptodoge_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.cryptodoge/mainnet/config/ssl/ &> /dev/null
cryptodoge init --fix-ssl-permissions 2>&1 >/dev/null
cryptodoge init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -105,7 +105,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.cryptodoge/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
cryptodoge init -c /root/.cryptodoge/farmer_ca 2>&1 > /root/.cryptodoge/mainnet/log/init.log
chmod 755 -R /root/.cryptodoge/mainnet/config/ssl/ &> /dev/null
cryptodoge init --fix-ssl-permissions 2>&1 >/dev/null
cryptodoge init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.cryptodoge/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/ecostake_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.ecostake/mainnet/config/ssl/ &> /dev/null
ecostake init --fix-ssl-permissions 2>&1 >/dev/null
ecostake init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -101,7 +101,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.ecostake/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
ecostake init -c /root/.ecostake/farmer_ca 2>&1 > /root/.ecostake/mainnet/log/init.log
chmod 755 -R /root/.ecostake/mainnet/config/ssl/ &> /dev/null
ecostake init --fix-ssl-permissions 2>&1 >/dev/null
ecostake init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.ecostake/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/flax_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.flax/mainnet/config/ssl/ &> /dev/null
flax init --fix-ssl-permissions 2>&1 >/dev/null
flax init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -106,7 +106,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.flax/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
flax init -c /root/.flax/farmer_ca 2>&1 > /root/.flax/mainnet/log/init.log
chmod 755 -R /root/.flax/mainnet/config/ssl/ &> /dev/null
flax init --fix-ssl-permissions 2>&1 >/dev/null
flax init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.flax/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/flora_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.flora/mainnet/config/ssl/ &> /dev/null
flora init --fix-ssl-permissions 2>&1 >/dev/null
flora init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -107,7 +107,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.flora/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
flora init -c /root/.flora/farmer_ca 2>&1 > /root/.flora/mainnet/log/init.log
chmod 755 -R /root/.flora/mainnet/config/ssl/ &> /dev/null
flora init --fix-ssl-permissions 2>&1 >/dev/null
flora init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.flora/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/gigahorse_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.chia/mainnet/config/ssl/ &> /dev/null
/chia-gigahorse-farmer/chia.bin init --fix-ssl-permissions 2>&1 >/dev/null
/chia-gigahorse-farmer/chia.bin init --fix-ssl-permissions >/dev/null 2>&1

/usr/bin/bash /machinaris/scripts/gpu_drivers_setup.sh

Expand Down Expand Up @@ -117,7 +117,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.chia/farmer_ca/chia_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
/chia-gigahorse-farmer/chia.bin init -c /root/.chia/farmer_ca 2>&1 > /root/.chia/mainnet/log/init.log
chmod 755 -R /root/.chia/mainnet/config/ssl/ &> /dev/null
/chia-gigahorse-farmer/chia.bin init --fix-ssl-permissions 2>&1 >/dev/null
/chia-gigahorse-farmer/chia.bin init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.chia/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/gold_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.gold/mainnet/config/ssl/ &> /dev/null
gold init --fix-ssl-permissions 2>&1 >/dev/null
gold init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -107,7 +107,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.gold/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
gold init -c /root/.gold/farmer_ca 2>&1 > /root/.gold/mainnet/log/init.log
chmod 755 -R /root/.gold/mainnet/config/ssl/ &> /dev/null
gold init --fix-ssl-permissions 2>&1 >/dev/null
gold init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.gold/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/greenbtc_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.greenbtc/mainnet/config/ssl/ &> /dev/null
greenbtc init --fix-ssl-permissions 2>&1 >/dev/null
greenbtc init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -101,7 +101,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.greenbtc/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
greenbtc init -c /root/.greenbtc/farmer_ca 2>&1 > /root/.greenbtc/mainnet/log/init.log
chmod 755 -R /root/.greenbtc/mainnet/config/ssl/ &> /dev/null
greenbtc init --fix-ssl-permissions 2>&1 >/dev/null
greenbtc init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.greenbtc/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/hddcoin_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.hddcoin/mainnet/config/ssl/ &> /dev/null
hddcoin init --fix-ssl-permissions 2>&1 >/dev/null
hddcoin init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -106,7 +106,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.hddcoin/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
hddcoin init -c /root/.hddcoin/farmer_ca 2>&1 > /root/.hddcoin/mainnet/log/init.log
chmod 755 -R /root/.hddcoin/mainnet/config/ssl/ &> /dev/null
hddcoin init --fix-ssl-permissions 2>&1 >/dev/null
hddcoin init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.hddcoin/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/littlelambocoin_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.littlelambocoin/mainnet/config/ssl/ &> /dev/null
littlelambocoin init --fix-ssl-permissions 2>&1 >/dev/null
littlelambocoin init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -107,7 +107,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.littlelambocoin/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
littlelambocoin init -c /root/.littlelambocoin/farmer_ca 2>&1 > /root/.littlelambocoin/mainnet/log/init.log
chmod 755 -R /root/.littlelambocoin/mainnet/config/ssl/ &> /dev/null
littlelambocoin init --fix-ssl-permissions 2>&1 >/dev/null
littlelambocoin init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.littlelambocoin/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
2 changes: 1 addition & 1 deletion scripts/forks/maize_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.maize/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
maize init -c /root/.maize/farmer_ca 2>&1 > /root/.maize/mainnet/log/init.log
#chmod 755 -R /root/.maize/mainnet/config/ssl/ &> /dev/null
#maize init --fix-ssl-permissions 2>&1 >/dev/null
#maize init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.maize/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/mint_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.mint/mainnet/config/ssl/ &> /dev/null
mint init --fix-ssl-permissions 2>&1 >/dev/null
mint init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -101,7 +101,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.mint/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
mint init -c /root/.mint/farmer_ca 2>&1 > /root/.mint/mainnet/log/init.log
chmod 755 -R /root/.mint/mainnet/config/ssl/ &> /dev/null
mint init --fix-ssl-permissions 2>&1 >/dev/null
mint init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.mint/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/nchain_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.chia/ext9/config/ssl/ &> /dev/null
chia init --fix-ssl-permissions 2>&1 >/dev/null
chia init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -102,7 +102,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.ext9/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
chia init -c /root/.ext9/farmer_ca 2>&1 > /root/.chia/ext9/log/init.log
chmod 755 -R /root/.chia/ext9/config/ssl/ &> /dev/null
chia init --fix-ssl-permissions 2>&1 >/dev/null
chia init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.ext9/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/one_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.one/mainnet/config/ssl/ &> /dev/null
one init --fix-ssl-permissions 2>&1 >/dev/null
one init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -103,7 +103,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.one/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
one init -c /root/.one/farmer_ca 2>&1 > /root/.one/mainnet/log/init.log
chmod 755 -R /root/.one/mainnet/config/ssl/ &> /dev/null
one init --fix-ssl-permissions 2>&1 >/dev/null
one init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.one/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/petroleum_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ for p in ${plots_dir//:/ }; do
done

chmod 755 -R /root/.petroleum/mainnet/config/ssl/ &> /dev/null
petroleum init --fix-ssl-permissions 2>&1 >/dev/null
petroleum init --fix-ssl-permissions >/dev/null 2>&1

# Start services based on mode selected. Default is 'fullnode'
if [[ ${mode} =~ ^fullnode.* ]]; then
Expand Down Expand Up @@ -102,7 +102,7 @@ elif [[ ${mode} =~ ^harvester.* ]]; then
if [[ -f /root/.petroleum/farmer_ca/private_ca.crt ]] && [[ ! ${keys} == "persistent" ]]; then
petroleum init -c /root/.petroleum/farmer_ca 2>&1 > /root/.petroleum/mainnet/log/init.log
chmod 755 -R /root/.petroleum/mainnet/config/ssl/ &> /dev/null
petroleum init --fix-ssl-permissions 2>&1 >/dev/null
petroleum init --fix-ssl-permissions >/dev/null 2>&1
else
echo "Did not find your farmer's certificates within /root/.petroleum/farmer_ca."
echo "See: https://github.com/guydavis/machinaris/wiki/Workers#harvester"
Expand Down
Loading

0 comments on commit e9a4deb

Please sign in to comment.