source: trunk/listen-config.php.template@ 41

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

fixes for alamo-local and airavata EXECUTING status

File size: 1.4 KB
Line 
1<?php
2$home = exec( "ls -d ~us3/lims" );
3$home_remote = "$home"; // for local submission
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;
10//$dbhost = "uslims3.uthscsa.edu";
11$dbhost = "localhost";
12$self = basename( $_SERVER['PHP_SELF'] );
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
15$class_dir_l = '/srv/www/htdocs/common/class_local/'; // Class dir for local
16$class_dir = $class_dir_p; // Class dir default
17
18// Global DB credentials
19$guser = "gfac";
20$gpasswd = "backend";
21$gDB = "gfac";
22
23$serviceURL = "http://gridfarm005.ucs.indiana.edu:8080/ogce-rest/job";
24$serviceURL2 = "http://gridfarm005.ucs.indiana.edu:9090/ogce-rest/job";
25
26// US3 DB credentials
27$user = "us3php";
28$passwd = "us3";
29
30$org_name = "UltraScan3 Admin";
31$admin_email = "us3-admin@biochem.uthscsa.edu";
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.