summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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