mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-20 04:43:06 +00:00
BugFix: Since version unknown, /etc/kopano is empty
This commit is contained in:
+1
-2
@@ -4,8 +4,7 @@ set -eu # unset variables are errors & non-zero return values exit the whole scr
|
||||
|
||||
mkdir -p /kopano/data/attachments /var/run/kopano
|
||||
|
||||
echo "Create /etc/kopano/ldap.cfg and prepare" | ts
|
||||
cp /usr/share/doc/kopano/example-config/ldap.cfg /etc/kopano/ldap.cfg
|
||||
echo "Create default configs and prepare" | ts
|
||||
sed -e "s|^\s*!include /usr/share/kopano/ldap.openldap.cfg|#!include /usr/sharekopano/ldap.openldap.cfg|" \
|
||||
-e "s|#!include /usr/share/kopano/ldap.active-directory.cfg|!include /usr/share/kopano/ldap.active-directory.cfg|" \
|
||||
-i /etc/kopano/ldap.cfg
|
||||
|
||||
Reference in New Issue
Block a user