save the environment variables to be used by the cron process
This commit fixes #383
This commit is contained in:
parent
6088b9b37f
commit
c64c7933e7
1
run.sh
1
run.sh
@ -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 &
|
||||
|
||||
Loading…
Reference in New Issue
Block a user