Skip to content
Snippets Groups Projects
Commit e703822f authored by Eric Cano's avatar Eric Cano
Browse files

Updated location of cta-frontend log file in container startup script.

This fixes frontend failing to start on file permission error.
parent acbf3807
Branches
Tags
No related merge requests found
......@@ -48,9 +48,9 @@ echo -n "Waiting for /etc/cta-frontend.krb5.keytab"
for ((;;)); do test -e /etc/cta-frontend.krb5.keytab && break; sleep 1; echo -n .; done
echo OK
touch /cta-frontend.log
chmod a+w /cta-frontend.log
tail -F /cta-frontend.log &
touch /var/log/cta/cta-frontend.log
chmod a+w /var/log/cta/cta-frontend.log
tail -F /var/log/cta/cta-frontend.log &
echo "Launching frontend"
runuser --shell='/bin/bash' --session-command='cd ~cta; xrootd -n cta -c /etc/xrootd/xrootd-cta.cfg -I v4' cta
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment