contributed/Xrootd-Door-info: update_Xrootd-Door-page.sh

File update_Xrootd-Door-page.sh, 377 bytes (added by hauki, 11 years ago)

wrapper script to setup the environment for jython

Line 
1#!/bin/sh
2export JAVA_HOME=/usr/java/latest
3export CLASSPATH=/opt/d-cache/classes/cells.jar:/opt/d-cache/classes/dcache.jar
4/usr/bin/jython /srv/www/scripts/getXrootdInfo.py localhost 22223 admin /opt/d-cache/config/identity Xrootd-madhatter > /srv/www/htdocs/dCache/XRootd-Door_new.html
5mv /srv/www/htdocs/dCache/XRootd-Door_new.html /srv/www/htdocs/dCache/XRootd-Door.html
6