Skip to content

Commit

Permalink
0004099: Move default location of H2 and Derby database files to
Browse files Browse the repository at this point in the history
<SYM_HOME>/db instead of <SYM_HOME>/tmp
  • Loading branch information
philipmarzullo64 committed Sep 26, 2019
1 parent 2c1b4fc commit 6eb2e03
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -110,10 +110,10 @@ public abstract class AbstractCommandLauncher {
}
System.setProperty("log4j.sym.home", symHome);
if (isBlank(System.getProperty("h2.baseDir.disable")) && isBlank(System.getProperty("h2.baseDir"))) {
System.setProperty("h2.baseDir", symHome + "/tmp/h2");
System.setProperty("h2.baseDir", symHome + "/db/h2");
}
if (isBlank(System.getProperty("derby.baseDir"))) {
System.setProperty("derby.baseDir", symHome + "/tmp/derby");
System.setProperty("derby.baseDir", symHome + "/db/derby");
}
DEFAULT_SERVER_PROPERTIES = System.getProperty(SystemConstants.SYSPROP_SERVER_PROPERTIES_PATH, symHome + "/conf/symmetric-server.properties");
log = LoggerFactory.getLogger(AbstractCommandLauncher.class);
Expand Down

0 comments on commit 6eb2e03

Please sign in to comment.