@@ -7,8 +7,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
77
88APP=" MyIP"
99var_tags=" ${var_tags:- network} "
10- var_cpu=" ${var_cpu:- 1 } "
11- var_ram=" ${var_ram:- 512 } "
10+ var_cpu=" ${var_cpu:- 2 } "
11+ var_ram=" ${var_ram:- 1024 } "
1212var_disk=" ${var_disk:- 4} "
1313var_os=" ${var_os:- debian} "
1414var_version=" ${var_version:- 13} "
@@ -20,29 +20,29 @@ color
2020catch_errors
2121
2222function update_script() {
23- header_info
24- check_container_storage
25- check_container_resources
26- if [[ ! -d /opt/myip ]]; then
27- msg_error " No ${APP} Installation Found!"
28- exit
29- fi
30-
31- if check_for_gh_release " myip" " jason5ng32/MyIP" ; then
32- msg_info " Stopping Services"
33- systemctl stop myip
34- msg_ok " Stopped Services"
35-
36- cp /opt/myip/.env /opt
37- CLEAN_INSTALL=1 fetch_and_deploy_gh_release " myip" " jason5ng32/MyIP" " tarball"
38- mv /opt/.env /opt/myip
39-
40- msg_info " Starting Services"
41- systemctl start myip
42- msg_ok " Started Services"
43- msg_ok " Updated Successfully"
44- fi
23+ header_info
24+ check_container_storage
25+ check_container_resources
26+ if [[ ! -d /opt/myip ]]; then
27+ msg_error " No ${APP} Installation Found!"
4528 exit
29+ fi
30+
31+ if check_for_gh_release " myip" " jason5ng32/MyIP" ; then
32+ msg_info " Stopping Services"
33+ systemctl stop myip
34+ msg_ok " Stopped Services"
35+
36+ cp /opt/myip/.env /opt
37+ CLEAN_INSTALL=1 fetch_and_deploy_gh_release " myip" " jason5ng32/MyIP" " tarball"
38+ mv /opt/.env /opt/myip
39+
40+ msg_info " Starting Services"
41+ systemctl start myip
42+ msg_ok " Started Services"
43+ msg_ok " Updated Successfully"
44+ fi
45+ exit
4646}
4747
4848start
0 commit comments