-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain_linux.sh
More file actions
executable file
·29 lines (14 loc) · 1.28 KB
/
Copy pathmain_linux.sh
File metadata and controls
executable file
·29 lines (14 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python reverse_proxy.py -port 2200; bash"
sleep 2
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python server.py -id 100 -pp 111 -listen 2105 -revproc 2200; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python server.py -id 200 -pp 222 -listen 2110 -revproc 2200; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python server.py -id 300 -pp 111 -listen 2115 -revproc 2200; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python server.py -id 400 -pp 222 -listen 2120 -revproc 2200; bash"
sleep 2
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python client.py -id 1 -revproc 2200 -pkt pktfiles/1.json; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python client.py -id 2 -revproc 2200 -pkt pktfiles/2.json; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python client.py -id 3 -revproc 2200 -pkt pktfiles/3.json; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python client.py -id 4 -revproc 2200 -pkt pktfiles/4.json; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python client.py -id 5 -revproc 2200 -pkt pktfiles/5.json; bash"
gnome-terminal -- /bin/bash -c "cd ~/reverse_proxy; python client.py -id 6 -revproc 2200 -pkt pktfiles/6.json; bash"