[Postfix] Wait for DNS
This commit is contained in:
parent
8badb146e9
commit
c75fd9ac40
@ -10,6 +10,11 @@ while ! mysqladmin status --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${D
|
||||
sleep 2
|
||||
done
|
||||
|
||||
while ! dig dns9.quad9.net @unbound +short >/dev/null; do
|
||||
echo "Waiting for DNS..."
|
||||
sleep 2
|
||||
done
|
||||
|
||||
cat <<EOF > /etc/aliases
|
||||
# Autogenerated by mailcow
|
||||
null: /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user