fix #1565 add fess.conf.path to jobs

This commit is contained in:
Shinsuke Sugaya 2018-03-15 18:17:47 +09:00
parent 3f13e71159
commit c2c54bbc57
3 changed files with 3 additions and 0 deletions

View file

@ -285,6 +285,7 @@ public class CrawlJob {
cmdList.add("-Dlasta.env=" + lastaEnv);
}
addSystemProperty(cmdList, Constants.FESS_CONF_PATH, null, null);
cmdList.add("-Dfess.crawler.process=true");
cmdList.add("-Dfess.log.path=" + (logFilePath != null ? logFilePath : systemHelper.getLogFilePath()));
addSystemProperty(cmdList, "fess.log.name", "fess-crawler", "-crawler");

View file

@ -209,6 +209,7 @@ public class GenerateThumbnailJob {
cmdList.add("-Dlasta.env=" + lastaEnv);
}
addSystemProperty(cmdList, Constants.FESS_CONF_PATH, null, null);
cmdList.add("-Dfess.thumbnail.process=true");
if (logFilePath == null) {
final String value = System.getProperty("fess.log.path");

View file

@ -202,6 +202,7 @@ public class SuggestJob {
cmdList.add("-Dlasta.env=" + lastaEnv);
}
addSystemProperty(cmdList, Constants.FESS_CONF_PATH, null, null);
cmdList.add("-Dfess.suggest.process=true");
if (logFilePath == null) {
final String value = System.getProperty("fess.log.path");