mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:31:58 +01:00
indexer shell scripts should syslog using mail.info
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
cb56eaeaed
commit
e6edbc525b
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user