We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1be64d5 commit 334d502Copy full SHA for 334d502
search.cmd
@@ -14,7 +14,7 @@ cd "${fscrawlerPth}" || exit 1
14
15
for fsJob in "${fsJobs[@]}"; do
16
if [ ! -e "/var/run/fscrawler-${fsJob}.pid" ]; then
17
- /usr/sbin/daemon -t "fscrawler-${fsJob}" -P "/var/run/daemon-fscrawler-${fsJob}.pid" -p "/var/run/fscrawler-${fsJob}.pid" -S -u "elasticsearch" bin/fscrawler --config_dir "${fscrawlerJobPth}" "${fsJob}"
+ /usr/sbin/daemon -t "fscrawler-${fsJob}" -P "/var/run/daemon-fscrawler-${fsJob}.pid" -p "/var/run/fscrawler-${fsJob}.pid" -S -u "elasticsearch" nice -20 bin/fscrawler --config_dir "${fscrawlerJobPth}" "${fsJob}"
18
fi
19
done
20
0 commit comments