mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
* basic healthcheck based on goss * add goss to travis * healtcheck command runs now for all services * add to makefile
15 lines
266 B
Bash
Executable File
15 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
case "$SERVICE_TO_START" in
|
|
server|dagent|gateway|ical|grapi|kapi|monitor|search|spooler)
|
|
goss -g /kopano/goss/"$SERVICE_TO_START"/goss.yaml validate --format json_oneline
|
|
;;
|
|
*)
|
|
echo "This service still needs a proper check"
|
|
;;
|
|
esac
|
|
|
|
exit 0
|