Skip to content
Snippets Groups Projects
Commit ba4d8d01 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 efe0e8f1
No related branches found
No related tags found
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