compass-core/bin/refresh.sh
xiaodongwang ce07c3b7dc clean installers when refresh
Change-Id: I86c27b0d9be0af6ef58748d97938a2df54b297c3
2014-10-30 00:21:41 -07: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