From ded334205f1d25e8d3c5489712c7811a6d3a059e Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 16 Jun 2022 13:51:27 -0400 Subject: [PATCH] more renderd paths --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 59e2a51..fdef05b 100755 --- a/run.sh +++ b/run.sh @@ -168,7 +168,7 @@ if [ "$1" == "run" ]; then setPostgresPassword # Configure renderd threads - sed -i -E "s/num_threads=[0-9]+/num_threads=${THREADS:-4}/g" /usr/local/etc/renderd.conf + sed -i -E "s/num_threads=[0-9]+/num_threads=${THREADS:-4}/g" /etc/renderd.conf # start cron job to trigger consecutive updates if [ "${UPDATES:-}" == "enabled" ] || [ "${UPDATES:-}" == "1" ]; then @@ -181,7 +181,7 @@ if [ "$1" == "run" ]; then } trap stop_handler SIGTERM - sudo -u renderer renderd -f -c /usr/local/etc/renderd.conf & + sudo -u renderer renderd -f -c /etc/renderd.conf & child=$! wait "$child"