mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-01-11 10:37:05 +00:00
Make sure /etc/default/bind9 exists
This commit is contained in:
parent
1513655bc4
commit
baa5d32dea
@ -302,6 +302,7 @@ fi #NODOC
|
|||||||
# * The listen-on directive in named.conf.options restricts `bind9` to
|
# * The listen-on directive in named.conf.options restricts `bind9` to
|
||||||
# binding to the loopback interface instead of all interfaces.
|
# binding to the loopback interface instead of all interfaces.
|
||||||
apt_install bind9
|
apt_install bind9
|
||||||
|
touch /etc/default/bind9
|
||||||
management/editconf.py /etc/default/bind9 \
|
management/editconf.py /etc/default/bind9 \
|
||||||
"OPTIONS=\"-u bind -4\""
|
"OPTIONS=\"-u bind -4\""
|
||||||
if ! grep -q "listen-on " /etc/bind/named.conf.options; then
|
if ! grep -q "listen-on " /etc/bind/named.conf.options; then
|
||||||
|
Loading…
Reference in New Issue
Block a user