#!/bin/sh # # dcgi_env.sh -- set up the DCGI environment # # # define Daylight root directory # DY_ROOT=/usr/local/daylight/v471 export DY_ROOT # # define runtime library search path. This is the path which the # system uses to find shared libraries at runtime. The daylight # toolkit libraries are linked shared in 4.61 and later, so this # variable must be set. LD_LIBRARY_PATH=/lib:/usr/lib:$DY_ROOT/lib export LD_LIBRARY_PATH # # Define Daylight license and password files. These files are # shipped in $DY_ROOT/etc/dy_license.dat but should be moved. # DY_LICENSEDATA=/usr/local/daylight/dy_license.dat export DY_LICENSEDATA DY_DATABASE_PASSWORDS_FILE=/usr/local/daylight/dy_passwords.dat export DY_DATABASE_PASSWORDS_FILE # # define the CEX root directory # CX_ROOT=$DY_ROOT/exotic/cex/cex132 export CX_ROOT # # define standard sizes (allows HTML IMG optimization) # DY_WIDE_WIDTH=400 DY_WIDE_HEIGHT=200 export DY_WIDE_WIDTH DY_WIDE_HEIGHT DY_LARGE_WIDTH=640 DY_LARGE_HEIGHT=480 export DY_LARGE_WIDTH DY_LARGE_HEIGHT DY_MEDIUM_WIDTH=240 DY_MEDIUM_HEIGHT=200 export DY_MEDIUM_WIDTH DY_MEDIUM_HEIGHT DY_SMALL_WIDTH=96 DY_SMALL_HEIGHT=64 export DY_SMALL_WIDTH DY_SMALL_HEIGHT # # Definitions for database interfaces # # Defaults, if not specified below are: # # server = the current host # thor svc = "thor" (or $DY_THOR_IPC_SERVICE) # merlin svc = "merlin" (or $DY_MERLIN_IPC_SERVICE) # user = (owner of httpd process) # userpass = NULL # dbpass(read) = NULL # # Note that the Daylight user specified below must # be an allowed user listed in dy_passwords.dat, or # connecting from an allowed host. dy_passwords.dat # is not normally shipped with "http" listed. # USER="http" export USER # # These are optional. # # DY_THOR_IPC_SERVICE="thor" # DY_MERLIN_IPC_SERVICE="merlin" # export DY_THOR_IPC_SERVICE DY_MERLIN_IPC_SERVICE # # Set the following to the database specification for your thor/merlin # server and database, as appropriate. # DCGI_ACDSPEC="acd012@::${USER}" export DCGI_ACDSPEC DCGI_ACD_MERLINSPEC="acd012@::${USER}" export DCGI_ACD_MERLINSPEC DCGI_MEDCHEMSPEC="medchem02@::${USER}" export DCGI_MEDCHEMSPEC DCGI_SAVANT_THORSPEC="spresi95preps@::${USER}" DCGI_SAVANT_MERLINSPEC="spresi95preps@::${USER}" export DCGI_SAVANT_THORSPEC DCGI_SAVANT_MERLINSPEC DCGI_WDISPEC="wdi021@::${USER}" export DCGI_WDISPEC DCGI_WDI_MERLINSPEC="wdi021@::${USER}" export DCGI_WDI_MERLINSPEC # # New in 4.51 # DY_WIZ_HOST="" DY_WIZ_SERVICE="merlin" DY_WIZ_INFOUSER="thorinfo" export DY_WIZ_HOST DY_WIZ_SERVICE DY_WIZ_INFOUSER