]> git.decadent.org.uk Git - dak.git/blob - setup/init_vars
Merge remote-tracking branch 'jcristau/cs-set-log-suite'
[dak.git] / setup / init_vars
1 #!/bin/sh
2
3 # The following variables are required by these scripts:
4
5 ## DAKBASE: The directory in which the dak install is to exist
6 DAKBASE=${DAKBASE:-/srv/dak}
7 export DAKBASE
8
9 ## DAKFQDN: The fqdn of the dak host
10 DAKFQDN=${DAKFQDN:-$(hostname -f)}
11 export DAKFQDN
12
13 ## DAKHOST: The short name used for the dak host
14 DAKHOST=${DAKHOST:-$(hostname)}
15 export DAKHOST
16
17 ## PGDATABASE: The postgresql database to use
18 ## (other PG* variables can also be exported by the user if needed)
19 PGDATABASE=${PGDATABASE:-projectb}
20 export PGDATABASE