Update and rename rstptoweb-install.sh to rtsptoweb-install.sh

fix spelling
This commit is contained in:
tteckster 2023-06-04 04:14:33 -04:00 committed by GitHub
parent 11e0f3a8ed
commit c735748faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,14 +27,14 @@ $STD ln -s /usr/local/go/bin/go /usr/local/bin/go
rm -rf go1.20.1.linux-amd64.tar.gz rm -rf go1.20.1.linux-amd64.tar.gz
msg_ok "Installed Golang" msg_ok "Installed Golang"
msg_info "Installing RSTPtoWEB" msg_info "Installing RTSPtoWwb"
$STD git clone https://github.com/deepch/RTSPtoWeb /opt/rtsptoweb $STD git clone https://github.com/deepch/RTSPtoWeb /opt/rtsptoweb
cat <<EOF >>/opt/rtsptoweb/start cat <<EOF >>/opt/rtsptoweb/start
#!/bin/bash #!/bin/bash
cd /opt/rtsptoweb && GO111MODULE=on go run *.go cd /opt/rtsptoweb && GO111MODULE=on go run *.go
EOF EOF
chmod +x /opt/rtsptoweb/start chmod +x /opt/rtsptoweb/start
msg_ok "Installed RSTPtoWEB" msg_ok "Installed RTSPtoWeb"
msg_info "Creating Service" msg_info "Creating Service"
service_path="/etc/systemd/system/rtsptoweb.service" service_path="/etc/systemd/system/rtsptoweb.service"