Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2025-05-06 13:36:56 +02:00 committed by GitHub
parent 0eaef6a38f
commit 77643f1184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,3 +32,11 @@ wget -O /etc/openpanel/docker/compose/1.0/.env https://raw.githubusercontent.com
echo ""
echo "Changing collation to domains table to allow IDN characters.."
mysql -e "ALTER TABLE domains CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
echo ""
echo "📥 Downloading daemon.json template for new users.."
mkdir -p /etc/openpanel/docker/daemon/
wget -O /etc/openpanel/docker/daemon/rootless.json https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/docker/daemon/rootless.json
# todo: sed for existing users!