1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 16:06:14 +00:00

make search start again (#238)

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2019-09-10 15:22:16 +02:00 committed by GitHub
parent a1d1de9767
commit 1a16f9822e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,13 @@ search)
sleep 5
# cleaning up env variables
unset "${!KCCONF_@}"
exec /usr/bin/python3 /usr/sbin/kopano-search -F
# with commit 702bb3fccb3 search does not need -F any longer
searchversion=$(dpkg-query --showformat='${Version}' --show kopano-search)
if dpkg --compare-versions "$searchversion" "gt" "8.7.82.165"; then
exec /usr/sbin/kopano-search
else
exec /usr/bin/python3 /usr/sbin/kopano-search -F
fi
;;
spooler)
dockerize \