source: trunk/DataCheck/Setup/setup.fact.lp.gate@ 19499

Last change on this file since 19499 was 19476, checked in by Daniela Dorner, 6 years ago
updated mysql-setup
  • Property svn:executable set to *
File size: 972 bytes
Line 
1#!/bin/bash
2#
3# This a resource file for the scripts, in which paths, variables
4# and setups are defined
5#
6# This setup file is for the machine gate in La Palma
7#
8
9# for db backup
10dbnames=( "mysql" "programoptions" "calendar" "systemstatus" "postfix" "horde" "logbook" "factdata" "weather" )
11
12# set only variables which are needed for the scripts running on this machine
13
14# software
15export mars=/users/fact/SW.automatic.processing/Mars.svn.2014.05.26
16
17# logging and setup
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 sqlrc=/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 sqlrc=/users/fact/.mysql.pw
32fi
33runlogpath=/users/fact/logs.automatic.processing/autologs
34
Note: See TracBrowser for help on using the repository browser.