compass-core/bin/refresh.sh
xiaodongwang ae58e8e4e5 make refresh call sync function to wait action finish
Change-Id: I3c67b110d572ff6a4fc80250214790e82362a7ed
2015-02-09 17:00:22 -08:00

15 lines
342 B
Bash
Executable File

#!/bin/bash
set -e
service mysqld restart
/opt/compass/bin/manage_db.py createdb
/opt/compass/bin/clean_installers.py --noasync
/opt/compass/bin/clean_installation_logs.py
service httpd restart
service rsyslog restart
service redis restart
sleep 10
redis-cli flushall
service compass-celeryd restart
service compass-progress-updated restart