Add exports to env setup.
This commit is contained in:
20
example.env
20
example.env
@@ -1,17 +1,17 @@
|
|||||||
# Variables for fast-access of production server.
|
# Variables for fast-access of production server.
|
||||||
|
|
||||||
PROD_HOST=example.com
|
export PROD_HOST=example.com
|
||||||
PROD_PORT=2222
|
export PROD_PORT=2222
|
||||||
PROD_USER=user
|
export PROD_USER=user
|
||||||
|
|
||||||
PROD_GIT_HOST=git.example.com
|
export PROD_GIT_HOST=git.example.com
|
||||||
PROD_GIT_PORT=8080
|
export PROD_GIT_PORT=8080
|
||||||
PROD_GIT_USER=git
|
export PROD_GIT_USER=git
|
||||||
|
|
||||||
PROD_DATA_HOST=sftp.example.com
|
export PROD_DATA_HOST=sftp.example.com
|
||||||
PROD_DATA_PORT=2200
|
export PROD_DATA_PORT=2200
|
||||||
PROD_DATA_USER=data
|
export PROD_DATA_USER=data
|
||||||
PROD_DATA_DIR=/srv/sftp
|
export PROD_DATA_DIR=/srv/sftp
|
||||||
|
|
||||||
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
||||||
echo "'`date` - $PROG' completed!"
|
echo "'`date` - $PROG' completed!"
|
||||||
|
|||||||
Reference in New Issue
Block a user