aboutsummaryrefslogtreecommitdiffstats
path: root/compass/deploy/ansible/roles/ha/files/notify.sh
blob: 5edffe84b763c1457db81a903e523ed25901063b (plain)
1
2
3
4
#!/bin/bash
python /usr/local/bin/failover.py $1
mysql -uroot -e"flush hosts"
service mysql restart