From: Robert Harakaly Date: Tue, 7 Dec 2004 18:51:36 +0000 (+0000) Subject: Added copy of the certificates into the $GLITE_USER/.certs directory X-Git-Tag: glite-wms-utils-exception_R_1_0_0~43 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=eb87be9f54d4e2bb80c787cf3f94e81e8e77091d;p=jra1mw.git Added copy of the certificates into the $GLITE_USER/.certs directory --- diff --git a/org.glite.deployment.lb/config/scripts/glite-lb-config.py b/org.glite.deployment.lb/config/scripts/glite-lb-config.py index 09d4e96..f854515 100644 --- a/org.glite.deployment.lb/config/scripts/glite-lb-config.py +++ b/org.glite.deployment.lb/config/scripts/glite-lb-config.py @@ -125,6 +125,9 @@ python %s-config [OPTION...]""" % (self.name, os.environ['GLITE_LOCATION'], \ glib.add_user(params['GLITE_USER'],params['GLITE_USER']) (uid,gid) = glib.get_user_info(params['GLITE_USER']) glib.check_dir(os.environ['GLITE_LOCATION_VAR'],0755, uid, gid) + + # Copy certificates + os.system("cp %s %s ~%s/.certs/" % (params['host.certificate.file'], params['host.key.file'], params['GLITE_USER'])) # Create the MySQL database self.mysql.stop()