Skip to content

Commit

Permalink
save the environment variables to be used by the cron process
Browse files Browse the repository at this point in the history
This commit fixes #383
  • Loading branch information
Istador committed Aug 9, 2023
1 parent 6088b9b commit c64c793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ if [ "$1" == "run" ]; then

# start cron job to trigger consecutive updates
if [ "${UPDATES:-}" == "enabled" ] || [ "${UPDATES:-}" == "1" ]; then
printenv > /etc/environment
/etc/init.d/cron start
sudo -u renderer touch /var/log/tiles/run.log; tail -f /var/log/tiles/run.log >> /proc/1/fd/1 &
sudo -u renderer touch /var/log/tiles/osmosis.log; tail -f /var/log/tiles/osmosis.log >> /proc/1/fd/1 &
Expand Down

0 comments on commit c64c793

Please sign in to comment.