mirror of https://github.com/tteck/Proxmox.git
Update and rename rstptoweb-install.sh to rtsptoweb-install.sh
fix spelling
This commit is contained in:
parent
11e0f3a8ed
commit
c735748faa
|
@ -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"
|
Loading…
Reference in New Issue