diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-10-22 06:39:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-22 06:39:52 +0000 |
commit | 593d0d500f75c127cc07872415eb709949bc98dc (patch) | |
tree | 9270598d5db6c08a288a62513261a65d470557fd /kubernetes/oof/components/oof-has/resources/config/healthy.sh | |
parent | 8a94a1dc516b41c76d30a8e217c3d3397db366cb (diff) | |
parent | 544ded22f28d1b98c3187cb6fcde7da4548938f8 (diff) |
Merge "[OOF] change comment style"
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" ] |