mirror of
https://github.com/i5ik/ViewFinderJS.git
synced 2021-07-04 22:33:28 +03:00
"OK"
This commit is contained in:
6
start.sh
6
start.sh
@@ -1,14 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
username=$(whoami)
|
||||
let audio=$2-2
|
||||
trap 'sudo kill $BGPID; exit' SIGINT
|
||||
trap 'sudo kill $BGPID; exit' SIGKILL
|
||||
|
||||
pulseaudio -k
|
||||
pulseaudio --start
|
||||
|
||||
username=$(whoami)
|
||||
cd parec-server
|
||||
node -r esm index.js 8003 &
|
||||
node -r esm index.js $audio &
|
||||
BGPID=$!
|
||||
cd ..
|
||||
node index.js 5002 8002 xxxcookie $username token2
|
||||
node index.js $1 $2 $3 $username $5
|
||||
|
||||
Reference in New Issue
Block a user