57747becde
This patch adds script for docker health check of Gnocchi API service. The script checks API service using curl. Change-Id: I010e3e4cc7eca59c5c5b8739e2ce145d4dc8a3f1
7 lines
197 B
Bash
7 lines
197 B
Bash
#!/bin/sh
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-gnocchi_wsgi.conf)
|
|
healthcheck_curl ${check_url}
|