File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
66# Source: https://github.com/AlexxIT/go2rtc
77
88APP=" go2rtc"
9- var_tags=" ${var_tags:- recorder ;video} "
9+ var_tags=" ${var_tags:- streaming ;video} "
1010var_cpu=" ${var_cpu:- 2} "
1111var_ram=" ${var_ram:- 2048} "
1212var_disk=" ${var_disk:- 4} "
@@ -20,22 +20,22 @@ color
2020catch_errors
2121
2222function update_script() {
23- header_info
24- check_container_storage
25- check_container_resources
26- if [[ ! -d /opt/go2rtc ]]; then
27- msg_error " No ${APP} Installation Found!"
28- exit
29- fi
30- msg_info " Updating $APP "
31- systemctl stop go2rtc
32- cd /opt/go2rtc
33- rm go2rtc_linux_amd64
34- curl -fsSL " https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" -o $( basename " https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" )
35- chmod +x go2rtc_linux_amd64
36- systemctl start go2rtc
37- msg_ok " Updated $APP "
23+ header_info
24+ check_container_storage
25+ check_container_resources
26+ if [[ ! -d /opt/go2rtc ]]; then
27+ msg_error " No ${APP} Installation Found!"
3828 exit
29+ fi
30+ msg_info " Updating $APP "
31+ systemctl stop go2rtc
32+ cd /opt/go2rtc
33+ rm go2rtc_linux_amd64
34+ curl -fsSL " https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" -o $( basename " https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" )
35+ chmod +x go2rtc_linux_amd64
36+ systemctl start go2rtc
37+ msg_ok " Updated $APP "
38+ exit
3939}
4040
4141start
You can’t perform that action at this time.
0 commit comments