compass-core/bin/refresh.sh
xiaodongwang a60bdb09c6 merge code to master
Change-Id: Id066d7f2878418dcd7fb3dc7f1f405dd8599ba85
2014-11-04 12:04:16 -08:00

15 lines
332 B
Bash
Executable File

#!/bin/bash
set -e
service mysqld restart
/opt/compass/bin/manage_db.py createdb
/opt/compass/bin/clean_installers.py
/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