Saltstack Official Galera Formula
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
- #!/bin/bash
-
- service {{ service.service }} start
-
- counter=60
-
- while [ $counter -gt 0 ]
- do
- mysql -u root -e"quit"
- if [[ $? -eq 0 ]]; then
- exit 0
- fi
- counter=$(( $counter - 1 ))
- sleep 2
- done
-
- exit 1
|