diff options
author | Jakub Latusek <j.latusek@samsung.com> | 2020-10-21 13:36:29 +0200 |
---|---|---|
committer | Jakub Latusek <j.latusek@samsung.com> | 2020-10-21 14:02:55 +0200 |
commit | 544ded22f28d1b98c3187cb6fcde7da4548938f8 (patch) | |
tree | 097dfef1c166847c77e0d94ead796c7e0071f6de /kubernetes/oof/components/oof-has/resources/config/healthy.sh | |
parent | de60649a59fe924175a25e05eb8ca31efe63daeb (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-x | kubernetes/oof/components/oof-has/resources/config/healthy.sh | 5 |
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" ] |