fix: bitcoind install

This commit is contained in:
André Sá 2021-12-30 14:23:14 +00:00
parent f83ea0a06c
commit 4532482015
2 changed files with 8 additions and 3 deletions

View file

@ -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/`)