Code Review
/
openstack-build
/
cinder-build.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update rpm, deb specs according to "requirements.txt"
[openstack-build/cinder-build.git]
/
trusty
/
debian
/
tests
/
cinder-daemons
1
#!/bin/bash
2
#-----------------------
3
# Testing cinder-daemons
4
#-----------------------
5
set -e
6
DAEMONS=('cinder-api' 'cinder-scheduler')
7
8
for daemon in "${DAEMONS[@]}"; do
9
if pidof -x $daemon > /dev/null; then
10
echo "OK"
11
else
12
echo "ERROR: ${daemon} IS NOT RUNNING"
13
exit 1
14
fi
15
done