Save environment variables
This commit is contained in:
1
run.sh
1
run.sh
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user