mirror of
https://github.com/mempool/mempool.git
synced 2025-01-17 18:52:34 +01:00
Don't start production instances if backend folder doesn't exist
This commit is contained in:
parent
75b8ec855b
commit
6a7d5fbe6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user