mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-20 02:52:11 +00:00
Delete lingering zones.conf file
This commit is contained in:
parent
3bd563fb8a
commit
ccaf96d835
@ -62,8 +62,14 @@ for ip in $PRIVATE_IP $PRIVATE_IPV6; do
|
|||||||
echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
|
echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Create a directory for additional configuration directives, including
|
||||||
|
# the zones.conf file written out by our management daemon.
|
||||||
echo "include: /etc/nsd/nsd.conf.d/*.conf" >> /etc/nsd/nsd.conf;
|
echo "include: /etc/nsd/nsd.conf.d/*.conf" >> /etc/nsd/nsd.conf;
|
||||||
|
|
||||||
|
# Remove the old location of zones.conf that we generate. It will
|
||||||
|
# now be stored in /etc/nsd/nsd.conf.d.
|
||||||
|
rm -f /etc/nsd/zones.conf
|
||||||
|
|
||||||
# Create DNSSEC signing keys.
|
# Create DNSSEC signing keys.
|
||||||
|
|
||||||
mkdir -p "$STORAGE_ROOT/dns/dnssec";
|
mkdir -p "$STORAGE_ROOT/dns/dnssec";
|
||||||
|
Loading…
Reference in New Issue
Block a user