Skip to content

Commit f051a1c

Browse files
committed
Update to Hestia IP Lookup Service.
1 parent 043b1fd commit f051a1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-update-sys-ip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# info: update system ip
33
# options: [NONE]
44
#
5-
# The function scans configured ip in the system and register them with vesta
5+
# The function scans configured ip in the system and register them with hestia
66
# internal database. This call is intended for use on vps servers, where ip is
77
# set by hypervizor.
88

@@ -110,7 +110,7 @@ for ip in $ips; do
110110
done
111111

112112
# Updating NAT
113-
pub_ip=$(curl -s vestacp.com/what-is-my-ip/)
113+
pub_ip=$(curl -s https://www.hestiacp.com/what-is-my-ip/)
114114
if [ ! -e "$HESTIA/data/ips/$pub_ip" ]; then
115115
if [ -z "$(grep -R "$pub_ip" $HESTIA/data/ips/)" ]; then
116116
ip=$(ls -t $HESTIA/data/ips/ |head -n1)

0 commit comments

Comments
 (0)