fix: bitcoind install
This commit is contained in:
parent
f83ea0a06c
commit
4532482015
2 changed files with 8 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ function setup (dataDir) {
|
|||
|
||||
function updateCore (coinRec, isCurrentlyRunning) {
|
||||
common.logger.info('Updating Bitcoin Core. This may take a minute...')
|
||||
if (isCurrentlyRunning) common.es(`sudo supervisorctl stop bitcoin`)
|
||||
common.es(`sudo supervisorctl stop bitcoin`)
|
||||
common.es(`curl -#o /tmp/bitcoin.tar.gz ${coinRec.url}`)
|
||||
common.es(`tar -xzf /tmp/bitcoin.tar.gz -C /tmp/`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue