shared profile dir

This commit is contained in:
Arndt Brenschede 2018-10-21 11:50:58 +02:00
parent 940abc5ea2
commit b154851f1f
4 changed files with 11 additions and 1 deletions

View file

@ -180,7 +180,10 @@ public class RouteServer extends Thread
serviceContext.segmentDir = args[0];
serviceContext.profileDir = args[1];
System.setProperty( "profileBaseDir", serviceContext.profileDir );
serviceContext.customProfileDir = args[2];
String dirs = args[2];
StringTokenizer tk = new StringTokenizer( dirs, "," );
serviceContext.customProfileDir = tk.nextToken();
serviceContext.sharedProfileDir = tk.hasMoreTokens() ? tk.nextToken() : serviceContext.customProfileDir;
int maxthreads = Integer.parseInt( args[4] );