back out service selection

This commit is contained in:
Anthony Young 2011-09-13 11:07:11 -07:00
parent 17969713a5
commit 2135cf87c2

View file

@ -251,10 +251,7 @@ rm -f $GLANCE_DIR/glance.sqlite
# so send the start command by forcing text into the window. # so send the start command by forcing text into the window.
function screen_it { function screen_it {
screen -S nova -X screen -t $1 screen -S nova -X screen -t $1
# only run the services specified in $ENABLED_SERVICES screen -S nova -p $1 -X stuff "$2$NL"
if [[ $ENABLED_SERVICES == *$2* ]]; then
screen -S nova -p $1 -X stuff "$2$NL"
fi
} }
screen_it g-api "cd $GLANCE_DIR; bin/glance-api --config-file=etc/glance-api.conf" screen_it g-api "cd $GLANCE_DIR; bin/glance-api --config-file=etc/glance-api.conf"