Fix container name
This commit is contained in:
parent
44e782d793
commit
10c44fe5fc
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
result="$(docker exec mariadbbackup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')"
|
result="$(docker exec mariadb_backup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')"
|
||||||
if [[ "${result}" == "Slave_running ON" ]]; then
|
if [[ "${result}" == "Slave_running ON" ]]; then
|
||||||
echo "OK: Replica running"
|
echo "OK: Replica running"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue