aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/run_servers.sh
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2015-06-09 17:41:40 +0200
committerChocobozzz <florian.bigard@gmail.com>2015-10-29 23:14:54 +0100
commit8c308c2bf7f658945d80be9d5880361238635f5b (patch)
tree2130ae60af58e59dab3df07a5d5cdd5174f91ae8 /scripts/run_servers.sh
parent8cb4b4e00ee57eb98dfe1455b6d2de36fc561797 (diff)
downloadPeerTube-8c308c2bf7f658945d80be9d5880361238635f5b.tar.gz
PeerTube-8c308c2bf7f658945d80be9d5880361238635f5b.tar.zst
PeerTube-8c308c2bf7f658945d80be9d5880361238635f5b.zip
Spawn
Diffstat (limited to 'scripts/run_servers.sh')
-rwxr-xr-xscripts/run_servers.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/run_servers.sh b/scripts/run_servers.sh
new file mode 100755
index 000000000..f99ca6bd9
--- /dev/null
+++ b/scripts/run_servers.sh
@@ -0,0 +1,7 @@
1#!/bin/bash
2
3NODE_ENV=test NODE_APP_INSTANCE=1 node server.js &
4sleep 1
5NODE_ENV=test NODE_APP_INSTANCE=2 node server.js &
6sleep 1
7NODE_ENV=test NODE_APP_INSTANCE=3 node server.js &