-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile.example
34 lines (28 loc) · 880 Bytes
/
profile.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Synopsis:
# Global profile for typical setspace server: $SETSPACE_ROOT/etc/profile
# See:
# SETSPACE_ROOT/bin/launchd-
# tools in JMSCOTT_ROOT @ https://github.com/jmscott/work
#
export JMSCOTT_ROOT=/usr/local/jmscott
PATH=$JMSCOTT_ROOT/bin:/bin:/usr/bin
export SETSPACE_ROOT=${SETSPACE_ROOT=/usr/local/setspace}
export BLOBIO_ROOT=/usr/local/blobio
export BLOBIO_SERVICE=bio4:localhost:1797
export BLOBIO_GET_SERVICE=fs:$BLOBIO_ROOT
export BLOBIO_ALGORITHM=btc20
PATH=$PATH:$BLOBIO_ROOT/bin
# set postgresql variables
export PGHOME=/usr/local/pgsql
export PGDATA=$PGHOME/data
export PGHOST=/tmp
export PGPORT=5432
export PGUSER=postgres
export PGPASSWORD=
export PGDATABASE=$USER
PATH=$PATH:$PGHOME/bin
export LD_LIBRARY_PATH=$PGHOME/lib:$LD_LIBRARY_PATH
# golang libpq gripes about PGSYSCONFDIR
unset PGSYSCONFDIR
PATH=$SETSPACE_ROOT/bin:$SETSPACE_ROOT/sbin:$PATH