Skip to content

Commit c672663

Browse files
authored
Update Member ID Removal (#45)
Signed-off-by: SK Ali Arman <[email protected]>
1 parent acfb04b commit c672663

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

init-script/run.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22

33
rm -rf /var/lib/mysql/lost+found
44
rm -rf /run-scripts/*
5-
rm /var/lib/mysql/auto.cnf
65
cp /tmp/scripts/* /scripts
6+
if [[ "$PITR_RESTORE" == "true" ]]; then
7+
if [[ "$HOSTNAME" != *"-0" ]]; then
8+
rm /var/lib/mysql/auto.cnf
9+
fi
10+
fi

0 commit comments

Comments
 (0)