1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00
Peertube/scripts/play.sh
2016-12-25 12:05:47 +01:00

13 lines
212 B
Bash
Executable file

#!/usr/bin/env sh
if [ ! -f server.js ]; then
echo "Missing server file (server.js)."
exit -1
fi
max=${1:-3}
for i in $(seq 1 $max); do
NODE_ENV=test NODE_APP_INSTANCE=$i node server.js &
sleep 1
done