[ -z "$creds" ] &&
echo $0: WARNING: No credentials specified. Using default lookup which is dangerous. >&2
+ # workaround for VOMS_FindByVO that seems to always require user's own VOMS config file
+ user_voms_config=$HOME/.glite/vomses
+ if [ ! -f "$user_voms_config" ]; then
+ rm -f /tmp/renewal_vomses
+ su - $GLITE_USER -c "touch /tmp/renewal_vomses"
+ user_voms_config=/tmp/renewal_vomses
+ fi
+
echo -n Starting ProxyRenewal Daemon: glite-proxy-renewd ...
if [ ! -d "$PROXY_REPOSITORY" ]; then
chmod 0700 $PROXY_REPOSITORY
fi
- su - $GLITE_USER -c "$GLITE_LOCATION/bin/glite-proxy-renewd \
- -r $PROXY_REPOSITORY $creds" && echo " done"
+ su - $GLITE_USER -c "VOMS_USERCONF=$user_voms_config \
+ $GLITE_LOCATION/bin/glite-proxy-renewd \
+ -r $PROXY_REPOSITORY $creds -A" && echo " done"
}
stop()