aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/components/oof-has/resources/config/healthy.sh
diff options
context:
space:
mode:
authorJakub Latusek <j.latusek@samsung.com>2020-10-21 13:36:29 +0200
committerJakub Latusek <j.latusek@samsung.com>2020-10-21 14:02:55 +0200
commit544ded22f28d1b98c3187cb6fcde7da4548938f8 (patch)
tree097dfef1c166847c77e0d94ead796c7e0071f6de /kubernetes/oof/components/oof-has/resources/config/healthy.sh
parentde60649a59fe924175a25e05eb8ca31efe63daeb (diff)
[OOF] change comment style
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ia9195b1f3ac6af6ce929060a57503d1a497c0736 Issue-ID: OOM-2562
Diffstat (limited to 'kubernetes/oof/components/oof-has/resources/config/healthy.sh')
-rwxr-xr-xkubernetes/oof/components/oof-has/resources/config/healthy.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/oof/components/oof-has/resources/config/healthy.sh b/kubernetes/oof/components/oof-has/resources/config/healthy.sh
index d78777ad1c..9f5309b5d5 100755
--- a/kubernetes/oof/components/oof-has/resources/config/healthy.sh
+++ b/kubernetes/oof/components/oof-has/resources/config/healthy.sh
@@ -1,3 +1,4 @@
+{{/*
# Copyright © 2017 Amdocs, Bell Canada
# Modifications Copyright © 2018 AT&T,VMware
#
@@ -13,13 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+*/}}
#!/bin/bash
-
+{{/*
# Controller is a process that reads from Music Q
# It uses no ports (TCP or HTTP). The PROB will check
# if the controller process exists or not. In case
# it exists, it will send 0, else send 1 so k8s can i
# restart the container
+*/}}
pid="$(pgrep -f '/usr/local/bin/conductor')"
if [ -z "$pid" ]