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"