Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 26 lines (16 sloc) 0.799 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/bash

NIMBUS_HOME_REL="`dirname $0`/.."
NIMBUS_HOME=`cd $NIMBUS_HOME_REL; pwd`

source "$NIMBUS_HOME/libexec/environment.sh"

LOGFILE="$NIMBUS_HOME/var/services.log"
PORT="8443"

# Changing CWD is necessary only to keep relative path settings for the
# "main.xml" spring paths in "services/etc/nimbus/jndi-config.xml"
# Everything else is run through a $NIMBUS_HOME translator.

cd $GLOBUS_LOCATION

# set up environment for the RMI over unix domain sockets communication done between
# admin clients and the service

export GLOBUS_OPTIONS="$GLOBUS_OPTIONS -Dorg.newsclub.net.unix.library.path=$NIMBUS_HOME/services/lib-native"

# clear out stale RMI domain socket files
rm -f $NIMBUS_HOME/var/run/privileged/*

exec $NIMBUS_HOME/services/bin/globus-start-container -p $PORT >> $LOGFILE 2>&1
Something went wrong with that request. Please try again.