yafits.bashrc.dist 1.36 KB
Newer Older
1
2
3
4
5
6
#/usr/bin/bash
#
# This script defines a number of environment variable conditionning
# the functionning of yafits on a given machine.
# A special attention must be paid to the comments for each variable
#
7
# Values are given as as many examples.
8
9
10
11
12
13
14
15

#
# Where are the FITS files ( top directory )
# Ensure that the directory and its content are readable
# by anybody or at least by gid==1001
#
export YAFITS_FITSDIR=/datartemix/ALMA/FITS

16
17
18
19
20
21
22
#
# A way to extend the disk space allocated to FITS files
# by using symbolic links defined in YAFITS_FITSDIR towards files
# or directories located in YAFITS_FITSDIR2
#
export YAFITS_FITSDIR2=/datartemix2/ALMA/FITS

23
24
25
26
27
28
#
# Where will the temporary PNG files and log files be written.
# Ensure that the directories are writable by anybody or at least
# by gid==1001
#
export YAFITS_PNGDIR=/tmp
29
export YAFITS_SAMPDIR=/tmp
30
export YAFITS_LOGDIR=/tmp
31
export YAFITS_OBJDIR=/tmp
32

33
34
35
36
37
38
39
#
# Maximum idleness duration for a data cube in memory before
# it becomes eligible for deletion. Expressed in seconds.
# The value below (5 minutes) is given as an example.
#
export YAFITSS_MAXIDLE=300

40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Which port will be used for the servers.
# Up to you.
#
export YAFITSS_PORT=4252
export YAFITSV_PORT=3022

#
# On which machine yafits will run
# For the time being the two variables MUST BE EQUAL.
#
export YAFITSS_HOST=juliette.obspm.fr
export YAFITSV_HOST=juliette.obspm.fr