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
msg_ok "Installed Golang"
msg_info "Installing RSTPtoWEB"
msg_info "Installing RTSPtoWwb"
$STD git clone https://github.com/deepch/RTSPtoWeb /opt/rtsptoweb
cat <<EOF >>/opt/rtsptoweb/start
#!/bin/bash
cd /opt/rtsptoweb && GO111MODULE=on go run *.go
EOF
chmod +x /opt/rtsptoweb/start
msg_ok "Installed RSTPtoWEB"
msg_ok "Installed RTSPtoWeb"
msg_info "Creating Service"
service_path="/etc/systemd/system/rtsptoweb.service"