From 6a7d5fbe6a52bfc6c6bffc2e8d145468d38b527b Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 25 Feb 2021 02:38:38 +0900 Subject: [PATCH] Don't start production instances if backend folder doesn't exist --- production/mempool-start-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/mempool-start-all b/production/mempool-start-all index a6f9ffc75..a6633f834 100755 --- a/production/mempool-start-all +++ b/production/mempool-start-all @@ -3,6 +3,6 @@ export NVM_DIR="$HOME/.nvm" source "$NVM_DIR/nvm.sh" for site in mainnet liquid testnet bisq signet do - cd "${HOME}/${site}/backend/" + cd "${HOME}/${site}/backend/" && \ screen -dmS "${site}" sh -c 'while true;do npm run start-production;sleep 1;done' done