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 { function header_info {
clear clear
cat <<"EOF" cat <<"EOF"
____ _______________ __ _ ____________ ____ ___________ ____ __ _ __ __
/ __ \/ ___/_ __/ __ \/ /_____| | / / ____/ __ ) / __ \/_ __/ ___// __ \/ /_____| | / /__ / /_
/ /_/ /\__ \ / / / /_/ / __/ __ \ | /| / / __/ / __ | / /_/ / / / \__ \/ /_/ / __/ __ \ | /| / / _ \/ __ \
/ _, _/___/ // / / ____/ /_/ /_/ / |/ |/ / /___/ /_/ / / _, _/ / / ___/ / ____/ /_/ /_/ / |/ |/ / __/ /_/ /
/_/ |_|/____//_/ /_/ \__/\____/|__/|__/_____/_____/ /_/ |_| /_/ /____/_/ \__/\____/|__/|__/\___/_.___/
EOF EOF
} }
header_info header_info
echo -e "Loading..." echo -e "Loading..."
APP="RSTPtoWEB" APP="RTSPtoWeb"
var_disk="4" var_disk="4"
var_cpu="2" var_cpu="2"
var_ram="2048" 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 rm -rf go1.20.1.linux-amd64.tar.gz
msg_ok "Installed Golang" msg_ok "Installed Golang"
msg_info "Installing RSTPtoWEB" msg_info "Installing RTSPtoWeb"
$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"