00001 import os.path 00002 global CONFIGDIR 00003 CONFIGDIR = os.path.normcase(os.path.abspath(__file__)).rsplit('/', 1)[0] 00004 00005 modules = ("GuiDQM",) 00006 envsetup = """ 00007 source /data/sw/cmsset_default.sh 00008 source /data/sw/slc4_ia32_gcc345/cms/webtools/1.3.0/etc/profile.d/dependencies-setup.sh 00009 source /data/sw/slc4_ia32_gcc345/external/py2-pil/1.1.6/etc/profile.d/init.sh 00010 source /data/sw/slc4_ia32_gcc345/external/libpng/1.2.10/etc/profile.d/init.sh 00011 source /data/sw/slc4_ia32_gcc345/external/libjpg/6b/etc/profile.d/init.sh 00012 source /data/sw/slc4_ia32_gcc345/external/libtiff/3.8.2/etc/profile.d/init.sh 00013 export QUIET_ASSERT=a 00014 """ 00015 00016 server.port = 8050 00017 server.serverDir = '/data/dqm/relval/gui' 00018 server.baseUrl = '/dqm/relval' 00019 server.title = 'CMS data quality' 00020 server.serviceName = 'CERN RelVal' 00021 00022 server.source('file', 'DQMArchive', '/data/dqm/relval/dqm.db', '--listen 8051') 00023 server.extend('DQMFileAccess', '/dev/null', '/data/dqm/relval/upload') 00024 00025 execfile(CONFIGDIR + "/dqm-services.py") 00026 execfile(CONFIGDIR + "/workspaces-relval.py")