Skip to content

Commit bb9cc62

Browse files
committed
Inherit parent environment variables
1 parent bd513ea commit bb9cc62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ fi
2020

2121
# Setup cron job
2222
cat > $HOME/.cron_env <<EOF
23-
export QGS_EXT=.qgs
24-
export FCGI_INSTANCES=10
25-
export SLEEP_INTERVAL=1
23+
export QGS_EXT=${QGS_EXT}
24+
export FCGI_INSTANCES=${FCGI_INSTANCES}
25+
export SLEEP_INTERVAL=${SLEEP_INTERVAL}
2626
EOF
2727
echo "$CRON_SCHEDULE . $HOME/.cron_env; /app/qgs_cache_preseed.sh >/proc/1/fd/1 2>/proc/1/fd/2" | crontab -
2828

0 commit comments

Comments
 (0)