Update and rename rstptoweb-install.sh to rtsptoweb-install.sh
fix spelling
This commit is contained in:
parent
11e0f3a8ed
commit
c735748faa
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
Loading…
Reference in a new issue