fix #1565 add fess.conf.path to jobs
This commit is contained in:
parent
3f13e71159
commit
c2c54bbc57
3 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue