Skip to content
Snippets Groups Projects
Commit 7c925c87 authored by Christoph Anton Mitterer's avatar Christoph Anton Mitterer
Browse files

minor improvements

parent ab75680f
No related branches found
No related tags found
No related merge requests found
......@@ -15,16 +15,16 @@ PATH='/usr/sbin:/sbin:/usr/bin:/bin'
#********************************************************************************
#*** Update XCache Grid Proxy Certificate ***
#********************************************************************************
voms-proxy-init -voms atlas:/atlas -cert /root/.globus/base.proxy -key /root/.globus/base.proxy -valid 96:00 > /dev/null 2> /dev/null
voms-proxy-init -voms atlas:/atlas -cert /root/.globus/base.proxy -key /root/.globus/base.proxy -valid 96:00 >/dev/null 2>/dev/null
if [ $? -ne 0 ]; then
echo "Error: Could not create X-Cache proxy certificate." >&2
printf 'Error: Could not create X-Cache proxy certificate.\n' >&2
exit 1
fi
touch /tmp/x509up_u"$(id -u xcache)"
chown xcache:xcache /tmp/x509up_u"$(id -u xcache)"
chmod go= /tmp/x509up_u"$(id -u xcache)"
cat /tmp/x509up_u"$(id -u)" > /tmp/x509up_u"$(id -u xcache)"
cat /tmp/x509up_u"$(id -u)" >/tmp/x509up_u"$(id -u xcache)"
......
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