mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
repair will now delete mysql data!
This commit is contained in:
parent
2455fc4386
commit
4962a28847
@ -863,6 +863,12 @@ docker_compose_up(){
|
||||
apt install apparmor -y > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
||||
if [ "$REPAIR" = true ]; then
|
||||
echo "Deleting all existing MySQL data in volume root_openadmin_mysql due to the '--repair' flag."
|
||||
docker volume rm root_openadmin_mysql > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
||||
# from 0.2.5 we only start mysql by default
|
||||
cd /root && docker compose up -d openpanel_mysql > /dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user