(simatec) Fix start.sh

This commit is contained in:
simatec 2023-02-26 22:48:57 +01:00
parent 0dbbd8ee10
commit e6a0e4e950

View file

@ -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