Commit 9f6108b8 authored by Julien Leduc's avatar Julien Leduc
Browse files

Sourcing the envinronment file for the cta-frontend

parent 0abcaaa4
......@@ -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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment