From 1b39986bf90d9b6a4a0703d28c78f49761dca135 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Thu, 15 Jul 2021 13:46:20 +0200 Subject: [PATCH] Revert "Update development Keycloak server to version 14 (#853)" (#855) This reverts commit d67b37e48e144f3e3479a19e6e6c14351a958f10. --- start.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/start.js b/start.js index 255d1d8545..6efe015b79 100755 --- a/start.js +++ b/start.js @@ -8,7 +8,7 @@ const decompress = require("decompress"); const decompressTargz = require("decompress-targz"); const args = process.argv.slice(2); -const version = args[0] || "14.0.0"; +const version = args[0] || "12.0.1"; const folder = "server"; const fileName = path.join(folder, `keycloak-${version}.tar.gz`); @@ -27,16 +27,14 @@ const decompressKeycloak = () => console.log("Files decompressed"); }) .catch((e) => console.error(e)); - const run = () => { - const addProc = spawn( - path.join(serverPath, "bin", `add-user-keycloak${extension}`), - ["--user", "admin", "--password", "admin"] - ); + const addProc = spawn(path.join(serverPath, "bin", `add-user-keycloak${extension}`), [ + "--user", "admin", + "--password", "admin" + ]); addProc.on("exit", () => { const proc = spawn(path.join(serverPath, "bin", `standalone${extension}`), [ "-Djboss.socket.binding.port-offset=100", - "-Dprofile.feature.newadmin=enabled", ]); proc.stdout.on("data", (data) => { console.log(data.toString());