mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 14:22:44 +01:00
Disable confirmation prompt for rust and change shebang in scripts to be universal for prod install
8 lines
320 B
Bash
Executable file
8 lines
320 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
export NVM_DIR="$HOME/.nvm"
|
|
source "$NVM_DIR/nvm.sh"
|
|
|
|
for site in mainnet mainnet-lightning testnet testnet-lightning signet signet-lightning bisq liquid liquidtestnet;do
|
|
cd "${HOME}/${site}/backend/" && \
|
|
screen -dmS "${site}" sh -c 'while true;do npm run start-production;sleep 1;done'
|
|
done
|