From cc860aa43db663a0594b65f42bfcc674634046a3 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Thu, 15 Aug 2024 14:50:54 -0400 Subject: [PATCH] Update entrypoint.sh --- wis2-gdc-management/docker/entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wis2-gdc-management/docker/entrypoint.sh b/wis2-gdc-management/docker/entrypoint.sh index e66b6ff..04a8291 100755 --- a/wis2-gdc-management/docker/entrypoint.sh +++ b/wis2-gdc-management/docker/entrypoint.sh @@ -24,10 +24,12 @@ echo "START /entrypoint.sh" -printenv | grep -v "no_proxy" >> /etc/environment +printenv | grep -v "no_proxy" > /tmp/environment +sudo sh -c 'cat /tmp/environment >> /etc/environment' +rm -f /tmp/environment echo "Starting cron" -service cron start +sudo service cron start service cron status echo "Caching WNM schema"