Code Review
/
demo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Build artifacts for vLB use case
[demo.git]
/
vnfs
/
vLBMS
/
scripts
/
run_health_vdns.sh
1
#!/bin/bash
2
3
PID=$(service bind9 status | grep inactive)
4
if [[ -z $PID ]]; then
5
echo "healthy" > status.txt
6
else
7
echo "unhealthy" > status.txt
8
fi