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