summaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-04-02 14:08:48 -0400
committerMarco Platania <platania@research.att.com>2018-04-02 14:08:48 -0400
commit03d58af35d1678cf520e4b4ba50b626e2aa31f34 (patch)
tree3d3d3606381450672d50a9b393d63c7fef444cf2 /vnfs
parent65b2ca0b64869a6487f55bf846b361078ba205ce (diff)
Fix health check issue with vDNS
Change-Id: I7737dfc81927bb04865cc60d592e2bc247962400 Issue-ID: INT-433 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs')
-rw-r--r--vnfs/vLBMS/scripts/run_health_vdns.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/vnfs/vLBMS/scripts/run_health_vdns.sh b/vnfs/vLBMS/scripts/run_health_vdns.sh
index 8851fa98..a82152ca 100644
--- a/vnfs/vLBMS/scripts/run_health_vdns.sh
+++ b/vnfs/vLBMS/scripts/run_health_vdns.sh
@@ -1,8 +1,8 @@
#!/bin/bash
-PID=$(service bind9 status | grep active)
+PID=$(service bind9 status | grep inactive)
if [[ -z $PID ]]; then
- echo "unhealthy" > status.txt
+ echo "healthy" > status.txt
else
- echo "healthy" > status.txt
+ echo "unhealthy" > status.txt
fi