All kinds of idk changes with idk stuff!
This commit is contained in:
parent
9e5f0ad759
commit
131bb57ac3
25 changed files with 245 additions and 68 deletions
|
@ -6,9 +6,13 @@ facebookstreamkey=$(kdialog --password "What is the stream key for Facebook?")
|
|||
echo $peertubestreamkey
|
||||
echo $facebookstreamkey
|
||||
|
||||
|
||||
|
||||
ssh chris@40.122.147.124 sudo sed -i -e "s#luctorcrc.org.*#luctorcrc.org/live/$peertubestreamkey\;#" nginx-restream/data/nginx.conf
|
||||
ssh chris@40.122.147.124 sudo sed -i -e "s#/rtmp/.*#/rtmp/$facebookstreamkey\;#" /etc/nginx/nginx.conf
|
||||
ssh chris@40.122.147.124 sudo sed -i -e "s#40.122.147.124.*#40.122.147.124:1936/rtmp/$facebookstreamkey\;#" nginx-restream/data/nginx.conf
|
||||
# ssh chris@40.122.147.124 'sudo systemctl restart nginx'
|
||||
ssh chris@40.122.147.124 sudo docker-compose down && sudo docker-compose up -d
|
||||
ssh chris@40.122.147.124 "cd /home/chris/nginx-restream && sudo docker-compose down && sudo docker-compose up -d"
|
||||
|
||||
if [ $? = 0 ]; then
|
||||
kdialog --title "Success!" --msgbox "All set! Now you can start the stream!"
|
||||
else
|
||||
kdialog --error "Sorry there was an error! Find Chris!"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue