mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
suspend remote dns if connection failed
This commit is contained in:
parent
bbc652c331
commit
f70ba768a3
9 changed files with 85 additions and 74 deletions
|
@ -46,7 +46,7 @@ old_ifs="$IFS"
|
|||
IFS=$'\n'
|
||||
|
||||
if [ -z $host ]; then
|
||||
hosts=$(cat $VESTA/conf/dns-cluster.conf)
|
||||
hosts=$(cat $VESTA/conf/dns-cluster.conf | grep "SUSPENDED=='no'")
|
||||
rm -f $VESTA/data/queue/dns-cluster.pipe
|
||||
touch $VESTA/data/queue/dns-cluster.pipe
|
||||
chmod 660 $VESTA/data/queue/dns-cluster.pipe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue