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

simplify default run.sh because we simply do not use it. Does nothing but...

simplify default run.sh because we simply do not use it. Does nothing but waits for pod termination...
parent 34310eb0
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
echo "ObjectStore BackendPath $objectstore" > /etc/cta/cta-frontend.conf
echo "Catalogue NumberOfConnections 1" >>/etc/cta/cta-frontend.conf
echo ${catdb} >/etc/cta/cta_catalogue_db.conf
useradd cta
# disable kerberos5 check for the admin privileges
sed -i -e "s/krb5/unix/" /usr/lib64/libXrdCtaOfs.so
runuser --shell='/bin/bash' --session-command='cd ~cta; xrootd -n cta -c /etc/xrootd/xrootd-cta.cfg -I v4' cta&
/bin/bash
echo "Default run command: sleeping forever"
# sleep forever but exit immediately when pod is deleted
exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"
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