forked from vaginessa/BrowserBoxPro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpm2-run.sh
More file actions
executable file
·39 lines (29 loc) · 754 Bytes
/
Copy pathpm2-run.sh
File metadata and controls
executable file
·39 lines (29 loc) · 754 Bytes
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
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env bash
echo "starting watching..."
./start_watcher.sh
echo "Starting pulseaudio"
sudo -g browsers pulseaudio -k
sudo -g browsers pulseaudio --start
username=$(whoami)
echo "Starting viewfinder service cluster as $username"
node -v
node=$(which node)
echo Using $node
echo "Starting parec-server"
cd parec-server
pm2 start ./parec-server.sh
cd ..
echo "Starting pptr-console-server"
cd pptr-console-server
pm2 start ./pptr-console-server.sh
echo "Starting chat server"
cd websocket_chat_app_homework
pm2 start ./chat-server.sh
cd ..
cd ..
echo "Starting crdp-secure-proxy-server"
cd crdp-secure-proxy-server
pm2 start ./devtools-server.sh
cd ..
echo "Starting main process, viewfinder, in foreground"
pm2 start ./main-vf-service.sh