Compare commits

...

3 Commits

Author SHA1 Message Date
tteckster c23de06e36
Update rtsptoweb-install.sh
fix fat finger
2023-06-04 04:24:09 -04:00
tteckster 87ff31bb8d
Update and rename rstptoweb.sh to rtsptoweb.sh
fix spelling
2023-06-04 04:18:03 -04:00
tteckster c735748faa
Update and rename rstptoweb-install.sh to rtsptoweb-install.sh
fix spelling
2023-06-04 04:14:33 -04:00
2 changed files with 9 additions and 9 deletions

View File

@ -8,17 +8,17 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build
function header_info {
clear
cat <<"EOF"
____ _______________ __ _ ____________
/ __ \/ ___/_ __/ __ \/ /_____| | / / ____/ __ )
/ /_/ /\__ \ / / / /_/ / __/ __ \ | /| / / __/ / __ |
/ _, _/___/ // / / ____/ /_/ /_/ / |/ |/ / /___/ /_/ /
/_/ |_|/____//_/ /_/ \__/\____/|__/|__/_____/_____/
____ ___________ ____ __ _ __ __
/ __ \/_ __/ ___// __ \/ /_____| | / /__ / /_
/ /_/ / / / \__ \/ /_/ / __/ __ \ | /| / / _ \/ __ \
/ _, _/ / / ___/ / ____/ /_/ /_/ / |/ |/ / __/ /_/ /
/_/ |_| /_/ /____/_/ \__/\____/|__/|__/\___/_.___/
EOF
}
header_info
echo -e "Loading..."
APP="RSTPtoWEB"
APP="RTSPtoWeb"
var_disk="4"
var_cpu="2"
var_ram="2048"

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 RTSPtoWeb"
$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"