mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
fixes to installation
This commit is contained in:
parent
5396437852
commit
4457eaf3a4
@ -326,7 +326,7 @@ php <<EOF > $CONFIG_TEMP && mv $CONFIG_TEMP $STORAGE_ROOT/owncloud/config.php;
|
|||||||
<?php
|
<?php
|
||||||
include("$STORAGE_ROOT/owncloud/config.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');
|
\$CONFIG['trusted_domains'] = array('$PRIMARY_HOSTNAME');
|
||||||
|
|
||||||
|
@ -336,6 +336,9 @@ fi #NODOC
|
|||||||
# remove bind9 in case it is still there
|
# remove bind9 in case it is still there
|
||||||
apt-get purge -qq -y bind9 bind9-utils
|
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
|
# Configure unbound
|
||||||
cp -f conf/unbound.conf /etc/unbound/unbound.conf.d/miabunbound.conf
|
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
|
mkdir /etc/unbound/lists.d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install unbound and dns utils (e.g. dig)
|
systemctl restart unbound
|
||||||
apt_install unbound python3-unbound bind9-dnsutils
|
|
||||||
|
|
||||||
unbound-control -q status
|
unbound-control -q status
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user