7 [ -f /etc
/conf.d
/gt
] && .
/etc
/conf.d
/gt
8 [ -z "$GLOBUS_LOCATION" ] && exit 1;
9 [ `id -u` -gt 0 ] && exit 1;
13 stat_busy
"Starting globus container"
14 #su -c "$GLOBUS_LOCATION/sbin/globus-start-container-detached -nosec" - globus
16 $GLOBUS_LOCATION/sbin
/globus-start-container-detached
$OPTS >&- 2>&-
21 [ -e /var
/run
/gt.pid
] && rm /var
/run
/gt.pid
;
22 [ -e /var
/log
/gt.log
] && rm /var
/log
/gt.log
;
23 ln -s $GLOBUS_LOCATION/var
/container.pid
/var
/run
/gt.pid
24 ln -s $GLOBUS_LOCATION/var
/container.log
/var
/log
/gt.log
37 stat_busy
"Stopping globus container"
38 $GLOBUS_LOCATION/sbin
/globus-stop-container-detached
>&- 2>&-
50 echo "Usage: $0 {start|stop|restart}"