Skip to content

Commit

Permalink
Update Member ID Removal (#44)
Browse files Browse the repository at this point in the history
Signed-off-by: SK Ali Arman <[email protected]>
  • Loading branch information
sheikh-arman authored and AshrafulHaqueToni committed Dec 17, 2024
1 parent 7a670b5 commit e0a1659
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion init-script/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@

rm -rf /var/lib/mysql/lost+found
rm -rf /run-scripts/*
rm /var/lib/mysql/auto.cnf
cp /tmp/scripts/* /scripts
if [[ "$PITR_RESTORE" == "true" ]]; then
if [[ "$HOSTNAME" != *"-0" ]]; then
rm /var/lib/mysql/auto.cnf
fi
fi

0 comments on commit e0a1659

Please sign in to comment.