mirror of https://github.com/tteck/Proxmox.git
Compare commits
3 Commits
11e0f3a8ed
...
c23de06e36
Author | SHA1 | Date |
---|---|---|
|
c23de06e36 | |
|
87ff31bb8d | |
|
c735748faa |
|
@ -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"
|
|
@ -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"
|
Loading…
Reference in New Issue