Update 'start-miner.sh'
This commit is contained in:
parent
bba074fe6c
commit
ff9b091bce
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user