Don't overwrite environment variables
This commit is contained in:
parent
34f3747a3b
commit
2ce348a7ed
15
config.sh
15
config.sh
@ -1,11 +1,20 @@
|
|||||||
# The name of the frontend, like indicated in /etc/hosts
|
# The name of the frontend, like indicated in /etc/hosts
|
||||||
FRONTEND_HOSTNAME="phobos"
|
if [ -z "$FRONTEND_HOSTNAME" ]
|
||||||
|
then
|
||||||
|
export FRONTEND_HOSTNAME="phobos"
|
||||||
|
fi
|
||||||
|
|
||||||
# Username of the unpriviledge user that runs scripts
|
# Username of the unpriviledge user that runs scripts
|
||||||
SYNCHRO_USER="synchro"
|
SYNCHRO_USER="synchro"
|
||||||
|
|
||||||
# Directory where backup should be made
|
# Directory where backup should be made
|
||||||
TO_BCKP="/mnt/backup"
|
if [ -z "$TO_BCKP" ]
|
||||||
|
then
|
||||||
|
TO_BCKP="/mnt/backup"
|
||||||
|
fi
|
||||||
|
|
||||||
# Password of the MySQL user backup (with RO rights)
|
# Password of the MySQL user backup (with RO rights)
|
||||||
BCKP_PASS="Riuy6of sae^W0Sh"
|
if [ -z "$BCKP_PASS" ]
|
||||||
|
then
|
||||||
|
BCKP_PASS="Riuy6of sae^W0Sh"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user