We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbccb0a commit 9dd4d77Copy full SHA for 9dd4d77
bin/v-change-web-domain-ip
@@ -76,13 +76,13 @@ fi
76
# Hestia #
77
#----------------------------------------------------------#
78
79
+# Update config
80
+update_object_value 'web' 'DOMAIN' "$domain" '$IP' "$3"
81
+
82
# Update counters
83
increase_ip_value "$new"
84
decrease_ip_value "$old"
85
-# Update config
-update_object_value 'web' 'DOMAIN' "$domain" '$IP' "$3"
-
86
# Restart web server
87
$BIN/v-restart-web $restart
88
check_result $? "WEB restart failed" >/dev/null
0 commit comments