Skip to content
Snippets Groups Projects
Commit 0089b40c authored by Julien Leduc's avatar Julien Leduc
Browse files

Sourcing the envinronment file for the cta-frontend

parent eab73b81
No related branches found
Tags v0.0-209
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment