tripleo-common/healthcheck/ovn-bgp-agent
Luis Tomas Bolivar a65535edc7 ovn-bgp-agent image support
This adds support for the ovn-bgp-agent container image.
ovn-bgp-agent can be found at https://opendev.org/x/ovn-bgp-agent.

Change-Id: Ic656117becd9a059b56a4753a5c579c2ee703cc5
2022-02-14 15:27:38 +01:00

13 lines
249 B
Bash
Executable File

#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='ovn-bgp-agent'
if ps -e | grep $process; then
exit 0
else
echo "There is no $process process running in the container"
exit 1
fi