.yafits.bashrc.dist 1.12 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
16
17
18
19
20
21

#
# 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

#
# 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
22
export YAFITS_SAMPDIR=/tmp
23
24
export YAFITS_LOGDIR=/tmp

25
26
27
28
29
30
31
#
# 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

32
33
34
35
36
37
38
39
40
41
42
43
44
#
# 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