Save environment variables

This commit is contained in:
Florian Stosse
2025-08-29 12:42:53 +02:00
parent 458b6725da
commit 9464af3261

1
run.sh
View File

@@ -180,6 +180,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 &