From 0089b40c82d3327955935b2dbcc589186795ea0b Mon Sep 17 00:00:00 2001 From: Julien Leduc <julien.leduc@cern.ch> Date: Mon, 23 Nov 2020 10:03:23 +0100 Subject: [PATCH] Sourcing the envinronment file for the cta-frontend --- .../docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh index 37b6aa120d..67eaf5ec68 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh @@ -56,6 +56,10 @@ fi if [ "-${CI_CONTEXT}-" == '-nosystemd-' ]; then # systemd is not available + echo 'echo "Setting environment variables for cta-frontend"' > /tmp/cta-frontend_env + cat /etc/sysconfig/cta-frontend | sed -e 's/^/export /' >> /tmp/cta-frontend_env + source /tmp/cta-frontend_env + runuser --shell='/bin/bash' --session-command='cd ~cta; xrootd -l /var/log/cta-frontend-xrootd.log -k fifo -n cta -c /etc/cta/cta-frontend-xrootd.conf -I v4' cta echo "ctafrontend died" echo "analysing core file if any" -- GitLab