From 24a414ab66449a345148d68f47722c54c51c7ea0 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Wed, 26 Mar 2025 18:17:40 +0100 Subject: [PATCH] Add ogcore --- debian/ogcore.postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/ogcore.postinst b/debian/ogcore.postinst index b83ab12..c4d8150 100644 --- a/debian/ogcore.postinst +++ b/debian/ogcore.postinst @@ -28,7 +28,8 @@ if [ "$1" = "configure" ] && [ -z "$2" ]; then # Configuración inicial echo ">>> Configurando base de datos y permisos" - mariadb -e "GRANT ALL ON *.* to 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION;" + mariadb -e "ALTER USER 'root'@'localhost' IDENTIFIED VIA unix_socket OR mysql_native_password USING PASSWORD('root');" + echo ">>> Creando par de claves para JWT" php bin/console lexik:jwt:generate-keypair --overwrite