mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:00:11 +01:00
Fixed #1280 to use PILER_USER env var for indexer command
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
7e9a4bcf8d
commit
b83ebdd8f1
@ -180,7 +180,7 @@ start_services() {
|
||||
start_piler() {
|
||||
if [[ ! -f "${VOLUME_DIR}/manticore/main1.spp" ]]; then
|
||||
log "main1.spp does not exist, creating index files"
|
||||
su -c "indexer --all --config ${SPHINX_CONF}" piler
|
||||
su -c "indexer --all --config ${SPHINX_CONF}" "$PILER_USER"
|
||||
fi
|
||||
|
||||
# No pid file should exist for piler
|
||||
|
Loading…
Reference in New Issue
Block a user