Ignore:
Timestamp:
12/18/16 23:46:07 (8 years ago)
Author:
Daniela Dorner
Message:
introduced usage of file for mysql pw to avoid warnings
Location:
trunk/DataCheck/Setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Setup/setup.fact.lp.data

    r18667 r18694  
    5353# dependencies of steps
    5454steps=$mars/resources/steps_fact.rc
    55 # file with db information
     55# files with db information
    5656sqlrc=$mars/sql.rc
     57sqlpw=/home/fact/.mysql.pw
    5758
    5859
  • trunk/DataCheck/Setup/setup.fact.lp.gate

    r18393 r18694  
    1212# set only variables which are needed for the scripts running on this machine
    1313
     14# software
     15export mars=/users/fact/SW.automatic.processing/Mars.svn.2014.05.26
     16
    1417# logging and setup
    15 logpath=/users/fact/logs.automatic.processing/autologs
     18user=`whoami`
     19if [ "$user" == "www-data" ]
     20then
     21   # processes called from the web
     22   logpath=/home/factwww/logs.automatic.processing/autologs
     23   # file with db information
     24   sqlrc=/home/fact/sql.rc
     25   sqlpw=/home/fact/.mysql.pw
     26else
     27   # normal processes called from the commandline or cron
     28   logpath=/users/fact/logs.automatic.processing/autologs
     29   # file with db information
     30   sqlrc=$mars/sql.rc
     31   sqlpw=/users/fact/.mysql.pw
     32fi
    1633runlogpath=/users/fact/logs.automatic.processing/autologs
    1734
    18 export mars=/users/fact/SW.automatic.processing/Mars.svn.2014.05.26
    19 
    20 # file with db information
    21 sqlrc=$mars/sql.rc
    22 
Note: See TracChangeset for help on using the changeset viewer.