1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-24 07:37:04 +00:00

fixes to installation

This commit is contained in:
KiekerJan 2022-05-15 22:16:48 +02:00
parent 5396437852
commit 4457eaf3a4
2 changed files with 5 additions and 3 deletions

View File

@ -326,7 +326,7 @@ php <<EOF > $CONFIG_TEMP && mv $CONFIG_TEMP $STORAGE_ROOT/owncloud/config.php;
<?php
include("$STORAGE_ROOT/owncloud/config.php");
\$CONFIG['config_is_read_only'] = false; # should prevent warnings from occ tool but doesn't
\$CONFIG['config_is_read_only'] = true; # should prevent warnings from occ tool but doesn't
\$CONFIG['trusted_domains'] = array('$PRIMARY_HOSTNAME');

View File

@ -336,6 +336,9 @@ fi #NODOC
# remove bind9 in case it is still there
apt-get purge -qq -y bind9 bind9-utils
# Install unbound and dns utils (e.g. dig)
apt_install unbound python3-unbound bind9-dnsutils
# Configure unbound
cp -f conf/unbound.conf /etc/unbound/unbound.conf.d/miabunbound.conf
@ -343,8 +346,7 @@ if [ ! -d /etc/unbound/lists.d ]; then
mkdir /etc/unbound/lists.d
fi
# Install unbound and dns utils (e.g. dig)
apt_install unbound python3-unbound bind9-dnsutils
systemctl restart unbound
unbound-control -q status