mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
fixed remote port for dns-cluster
This commit is contained in:
parent
f851da5db1
commit
6d4da8dfe5
1 changed files with 4 additions and 5 deletions
|
@ -16,8 +16,6 @@ user=$3
|
||||||
password=$4
|
password=$4
|
||||||
type=${5-api}
|
type=${5-api}
|
||||||
dns_user=${6-dns-cluster}
|
dns_user=${6-dns-cluster}
|
||||||
|
|
||||||
# fix for variable name in other files
|
|
||||||
DNS_USER=$dns_user
|
DNS_USER=$dns_user
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
|
@ -45,9 +43,10 @@ is_dnshost_alive
|
||||||
# Action #
|
# Action #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
||||||
# Concatentating db host string
|
# Concatentating dns host string
|
||||||
str="HOST='$host' USER='$user' PASSWORD='$password' DNS_USER='$dns_user'"
|
str="HOST='$host' PORT='$port' USER='$user' PASSWORD='$password'"
|
||||||
str="$str TYPE='$type' SUSPENDED='no' TIME='$TIME' DATE='$DATE'"
|
str="$str DNS_USER='$dns_user' TYPE='$type' SUSPENDED='no'"
|
||||||
|
str="$str TIME='$TIME' DATE='$DATE'"
|
||||||
|
|
||||||
# Adding host to dns-cluster.conf
|
# Adding host to dns-cluster.conf
|
||||||
echo "$str" >> $VESTA/conf/dns-cluster.conf
|
echo "$str" >> $VESTA/conf/dns-cluster.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue