mempool/production/mempool-start-all

12 lines
284 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
do
cd "${HOME}/${site}/backend/"
screen -dmS "${site}" sh -c 'while true;do npm run start;sleep 1;done'
done
#cd "${HOME}/webhook/"
#screen -dmS webhook ./start