mempool/production/mempool-start-all

9 lines
249 B
Bash
Executable File

#!/usr/local/bin/zsh
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
for site in mainnet liquid testnet bisq signet
do
cd "${HOME}/${site}/backend/"
screen -dmS "${site}" sh -c 'while true;do npm run start-production;sleep 1;done'
done