diff --git a/config.sh b/config.sh index bc07a615..b60bc4b6 100644 --- a/config.sh +++ b/config.sh @@ -1,11 +1,20 @@ # 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 SYNCHRO_USER="synchro" # 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) -BCKP_PASS="Riuy6of sae^W0Sh" +if [ -z "$BCKP_PASS" ] +then + BCKP_PASS="Riuy6of sae^W0Sh" +fi