From 74858559652527af1b1261d8e271ef276da93fa7 Mon Sep 17 00:00:00 2001 From: Mateusz Matuszkowiak Date: Tue, 3 Jul 2018 13:03:41 +0200 Subject: [PATCH] Source the exported vars before entrypoint exec Change-Id: If40e943fee2ad928d8af64f61201800cc6f308de Related-Bug: PROD-21141 --- prometheus/files/gainsight/gainsight_crontab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/files/gainsight/gainsight_crontab.yml b/prometheus/files/gainsight/gainsight_crontab.yml index b387053..89d961e 100644 --- a/prometheus/files/gainsight/gainsight_crontab.yml +++ b/prometheus/files/gainsight/gainsight_crontab.yml @@ -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