Update 'start-miner.sh'

This commit is contained in:
William 2021-05-06 09:34:30 +00:00
parent bba074fe6c
commit ff9b091bce

View File

@ -24,7 +24,7 @@ do
if [ $LOCAL != $(git ls-remote https://git.willy.club/William/monero-miner HEAD | awk '{print $1;}') ]; if [ $LOCAL != $(git ls-remote https://git.willy.club/William/monero-miner HEAD | awk '{print $1;}') ];
then then
# check for connectivity # check for connectivity
wget -q --spider https://git.willy.club wget -q --spider https://git.willy.club/William/monero-miner
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
curl -sSL https://git.willy.club/William/monero-miner/raw/branch/master/install.sh | bash curl -sSL https://git.willy.club/William/monero-miner/raw/branch/master/install.sh | bash
systemctl restart monero-miner.service systemctl restart monero-miner.service