Code Review
/
genesis.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Removed fuel from Genesis master since fuel has moved to repo fuel.
[genesis.git]
/
compass
/
deploy
/
ansible
/
roles
/
ha
/
files
/
galera_chk
1
#! /bin/sh
2
3
code=`mysql -uroot -e "show status" | awk '/Threads_running/{print $2}'`
4
5
if [ "$code"=="1" ]
6
then
7
echo "HTTP/1.1 200 OK\r\n"
8
else
9
echo "HTTP/1.1 503 Service Unavailable\r\n"
10
fi