1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-01 19:56:18 +00:00
kopano-docker/core/healthcheck.sh
Felix Bartels 0aaba5224e convert kcconf.py to unix line endings
add *:236 to default config
add healthckeck script

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-11-05 08:03:24 +01:00

11 lines
194 B
Bash

#!/bin/bash
case "$SERVICE_TO_START" in
server)
dockerize \
-wait tcp://localhost:237 \
([ -f /kopano/data/.user-sync ] || kopano-cli --sync; touch /kopano/data/.user-sync)
exit 0
;;
esac