Skip to content

Commit

Permalink
version 7.0.25 - fixed process starter to support homeless container …
Browse files Browse the repository at this point in the history
…user
  • Loading branch information
vlahoda committed May 25, 2023
1 parent 0fe61f5 commit dc814fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ public void startMe(boolean wait, String krameriusAppLib,
command.add(jpParam);
}


command.add("-Duser.home=" + System.getProperty("user.home"));

command.add("-D" + ProcessStarter.MAIN_CLASS_KEY + "="
+ this.definition.getMainClass());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public static void main(String[] args) {
}
}));

LOGGER.info("STARTING PROCESS WITH USER HOME:"+System.getProperty("user.home"));
Class<?> clz = Class.forName(mainClass);

String pid = getPID();
Expand Down

0 comments on commit dc814fb

Please sign in to comment.