Code Review
/
demo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8851fa98bbaee60e661929283d1ec24e4585fbeb
[demo.git]
/
vnfs
/
vLBMS
/
scripts
/
run_health_vdns.sh
1
#!/bin/bash
2
3
PID=$(service bind9 status | grep active)
4
if [[ -z $PID ]]; then
5
echo "unhealthy" > status.txt
6
else
7
echo "healthy" > status.txt
8
fi