more renderd paths
This commit is contained in:
parent
a05e47f689
commit
ded334205f
4
run.sh
4
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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user