From e6edbc525b590d3575bad359bfce9a80926d03d7 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 6 Jan 2021 08:38:29 +0100 Subject: [PATCH] indexer shell scripts should syslog using mail.info Signed-off-by: Janos SUTO --- util/indexer.delta.sh.in | 2 +- util/indexer.main.sh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/indexer.delta.sh.in b/util/indexer.delta.sh.in index 6da9e8bf..6b05fe6f 100755 --- a/util/indexer.delta.sh.in +++ b/util/indexer.delta.sh.in @@ -4,7 +4,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MAINTMPFILE=/var/run/piler/main.indexer.tmp DELTATMPFILE=/var/run/piler/delta.indexer.tmp INDEXER="indexer --config SYSCONFDIR/piler/sphinx.conf" -PRIORITY=mail.error +PRIORITY=mail.info TOUCHFILE=/var/piler/stat/indexer if [ -f $MAINTMPFILE ]; then echo "INDEXER ERROR: indexer merging to main index is already running. It started at "`cat $MAINTMPFILE` | logger -p $PRIORITY ; exit 1; fi diff --git a/util/indexer.main.sh.in b/util/indexer.main.sh.in index 28d7756e..7332ed48 100755 --- a/util/indexer.main.sh.in +++ b/util/indexer.main.sh.in @@ -6,7 +6,7 @@ set -o pipefail MAINTMPFILE="/var/run/piler/main.indexer.tmp" SPHINX_CONFIG="SYSCONFDIR/piler/sphinx.conf" -PRIORITY="mail.error" +PRIORITY="mail.info" TOUCHFILE="/var/piler/stat/indexer" MAIN_INDEX="main1"