Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to add 'Java Options' to Console, Daemon, and Stora…
…ge (typedb#5094) ## What is the goal of this PR? Right now there's only SERVER_JAVAOPTS. Being able to supply Java options to Console, the Daemon (bootup) process, and Storage will be quite useful, especially for attaching remote debuggers. This PR adds those functionalities via these environment variables: CONSOLE_JAVAOPTS, GRAKN_DAEMON_JAVAOPTS and STORAGE_JAVAOPTS. Usage examples: ``` env CONSOLE_JAVAOPTS="-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" ./grakn console ``` ``` env GRAKN_DAEMON_JAVAOPTS="-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" ./grakn server start ``` ``` env STORAGE_JAVAOPTS="-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" ./grakn server start ``` ## What are the changes implemented in this PR? Added CONSOLE_JAVAOPTS, GRAKN_DAEMON_JAVAOPTS and STORAGE_JAVAOPTS to the `grakn` script.
- Loading branch information