PeerTube/scripts/run_servers.sh

8 lines
182 B
Bash
Executable File

#!/bin/bash
NODE_ENV=test NODE_APP_INSTANCE=1 node server.js &
sleep 1
NODE_ENV=test NODE_APP_INSTANCE=2 node server.js &
sleep 1
NODE_ENV=test NODE_APP_INSTANCE=3 node server.js &