Disable confirmation prompt for rust and change shebang in scripts to be universal for prod install
		
			
				
	
	
		
			9 lines
		
	
	
		
			320 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 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
 |