source: trunk/listen-config.php.template

Last change on this file was 28, checked in by gegorbet, 8 years ago

fixes for alamo-local and airavata EXECUTING status

File size: 1.4 KB
RevLine 
[1]1<?php
[21]2$home = exec( "ls -d ~us3/lims" );
[6]3$home_remote = "$home"; // for local submission
[1]4$work = "$home/work";
5$work_remote = "$home_remote/work";
6$pipe = "$home/etc/us3-pipe";
7$logfile = "$home/etc/udp.log";
8$submit_dir = '/srv/www/htdocs/uslims3/uslims3_data'; // LIMS submit files dir
9$listen_port = 12233;
[6]10//$dbhost = "uslims3.uthscsa.edu";
[1]11$dbhost = "localhost";
12$self = basename( $_SERVER['PHP_SELF'] );
[19]13$class_dir_p = '/srv/www/htdocs/common/class/'; // Class dir for production
14$class_dir_d = '/srv/www/htdocs/common/class_devel/'; // Class dir for development
[28]15$class_dir_l = '/srv/www/htdocs/common/class_local/'; // Class dir for local
[19]16$class_dir = $class_dir_p; // Class dir default
[1]17
18// Global DB credentials
[6]19$guser = "gfac";
20$gpasswd = "backend";
21$gDB = "gfac";
[1]22
[6]23$serviceURL = "http://gridfarm005.ucs.indiana.edu:8080/ogce-rest/job";
24$serviceURL2 = "http://gridfarm005.ucs.indiana.edu:9090/ogce-rest/job";
[1]25
26// US3 DB credentials
[6]27$user = "us3php";
28$passwd = "us3";
[1]29
30$org_name = "UltraScan3 Admin";
[6]31$admin_email = "us3-admin@biochem.uthscsa.edu";
[1]32
33// This is really a library routine
34
35date_default_timezone_set( 'America/Chicago' );
36
37function write_log( $message )
38{
39 global $logfile;
40
41 $log = fopen( $logfile, "a" );
42 fwrite( $log, date( "Y-m-d H:i:s " ) . $message . "\n" );
43 fclose( $log );
44}
45?>
Note: See TracBrowser for help on using the repository browser.