File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ host=$1
1515# Includes
1616source $VESTA /conf/vesta.conf
1717source $VESTA /func/main.sh
18+ source $VESTA /func/remote.sh
1819
1920
2021# ----------------------------------------------------------#
@@ -35,7 +36,7 @@ is_object_valid "../../conf/dns-cluster" 'HOST' "$host"
3536$BIN /v-delete-remote-dns-domains $host >> /dev/null 2>&1
3637
3738# Disabling restart queue
38- eval $( grep $host $VESTA /conf/dns-cluster)
39+ eval $( grep $host $VESTA /conf/dns-cluster.conf )
3940case $TYPE in
4041 ssh) send_cmd=" send_ssh_cmd" ;;
4142 * ) send_cmd=" send_api_cmd" ;;
Original file line number Diff line number Diff line change 9292
9393# Update pipe
9494pipe=" $VESTA /data/queue/dns-cluster.pipe"
95- str=$( grep -n " $SCRIPT $1 $2 & 3$" $pipe | cut -f1 -d: | head -n1)
95+ str=$( grep -n " $SCRIPT $1 $2 $ 3 $" $pipe | cut -f1 -d: | head -n1)
9696if [ ! -z " $str " ]; then
9797 sed -i " $str d" $pipe
9898fi
You can’t perform that action at this time.
0 commit comments