aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vLBMS/scripts/run_health_vdns.sh
blob: 8851fa98bbaee60e661929283d1ec24e4585fbeb (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

PID=$(service bind9 status | grep active)
if [[ -z $PID ]]; then
  echo "unhealthy" > status.txt
else
  echo "healthy" > status.txt
fi