From 528f721bcd05f8c9e246108d848ccc136d823206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Wed, 9 Jun 2021 16:38:29 +0100 Subject: [PATCH] fix: use supervisor reload instead of restart fix: set blockchain process autorestart to unexpected fix: use supervisor reload and update instead of restart fix: stop restarting supervisor service fix: set blockchain supervisor config autorestart --- lib/blockchain/install.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/blockchain/install.js b/lib/blockchain/install.js index 5d558171..3a3bb2cc 100644 --- a/lib/blockchain/install.js +++ b/lib/blockchain/install.js @@ -56,7 +56,8 @@ function processCryptos (codes) { const selectedCryptos = _.map(code => _.find(['code', code], cryptos), codes) _.forEach(setupCrypto, selectedCryptos) - common.es('sudo service supervisor restart') + common.es('sudo supervisorctl reread') + common.es('sudo supervisorctl update') const blockchainDir = coinUtils.blockchainDir() const backupDir = path.resolve(os.homedir(), 'backups')