mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 09:52:14 +01:00
12 lines
284 B
Bash
Executable File
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
|