This paste expires on 2023-04-14 03:29:49.457383. Repaste, or download this paste. . Pasted through v1-api.

tail -f /var/log/mysql.log | while read LOGLINE
do
   [[ "${LOGLINE}" == *"Aborting"* ]] && echo -e " \e[1m\e[92m*** \e[97mFault Detected - Ressurecting Galera" && break;
done
Filename: /usr/local/bin/watchGalera. Size: 180b. View raw, , hex, or download this file.