Source the exported vars before entrypoint exec

Change-Id: If40e943fee2ad928d8af64f61201800cc6f308de
Related-Bug: PROD-21141
This commit is contained in:
Mateusz Matuszkowiak 2018-07-03 13:03:41 +02:00
parent 6affd12cc0
commit 7485855965

View file

@ -1,2 +1,2 @@
{% from "prometheus/map.jinja" import gainsight with context %}
{{ gainsight.crontab.duration }} root /opt/gainsight/entrypoint.py >> /var/log/cron.log 2>&1
{{ gainsight.crontab.duration }} root . /opt/gainsight/vars && /opt/gainsight/entrypoint.py >> /var/log/cron.log 2>&1