From b83ebdd8f15823c9a9cfbbc37768b8014a992aa9 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 18 Feb 2023 11:16:14 +0100 Subject: [PATCH] Fixed #1280 to use PILER_USER env var for indexer command Signed-off-by: Janos SUTO --- docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start.sh b/docker/start.sh index f79a2738..cc7cb73c 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -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