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

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