mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "c23de06e363959b92d4c55d43100717f72155589" and "11e0f3a8edd08f384154fd431dba6c55cfeec0f4" have entirely different histories.
c23de06e36
...
11e0f3a8ed
|
@ -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="RTSPtoWeb"
|
APP="RSTPtoWEB"
|
||||||
var_disk="4"
|
var_disk="4"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="2048"
|
|
@ -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 RTSPtoWeb"
|
msg_info "Installing RSTPtoWEB"
|
||||||
$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 RTSPtoWeb"
|
msg_ok "Installed RSTPtoWEB"
|
||||||
|
|
||||||
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