Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Commit

Permalink
Software updater updates
Browse files Browse the repository at this point in the history
Now pulls down the latest adapter.js, and starts up the TURN server.
  • Loading branch information
a2sheppy committed Nov 25, 2015
1 parent 762a720 commit 51679cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ systemctl start sshd.service

cd /var/www/html && git pull

# Get the current version of adapter.js

curl https://webrtc.github.io/adapter/adapter-latest.js > /var/www/html/s/adapter.js

# Set owner of the web tree

chown -R root:www /var/www
Expand All @@ -39,6 +43,10 @@ find /var/www -type f -exec chmod 0664 {} +
systemctl start httpd.service
systemctl enable httpd.service

# Start the turn server

turnserver --syslog -a -o -L 172.31.45.0 -X 52.5.80.241 -E 172.31.45.0 -f --min-port=32355 --max-port=65535 --user=webrtc:turnserver -r mdnSamples --log-file=stdout -v

# Start spinning up Sample Server stuff here

/usr/bin/python /var/www/html/startup.py &

0 comments on commit 51679cd

Please sign in to comment.