23 lines
457 B
Bash
23 lines
457 B
Bash
# The name of the frontend, like indicated in /etc/hosts
|
|
if [ -z "$FRONTEND_HOSTNAME" ]
|
|
then
|
|
export FRONTEND_HOSTNAME="phobos"
|
|
fi
|
|
|
|
# Username of the unpriviledge user that runs scripts
|
|
SYNCHRO_USER="synchro"
|
|
|
|
BASEDIR="/var/www/fic-server"
|
|
|
|
# Directory where backup should be made
|
|
if [ -z "$TO_BCKP" ]
|
|
then
|
|
TO_BCKP="/mnt/backup"
|
|
fi
|
|
|
|
# Password of the MySQL user backup (with RO rights)
|
|
if [ -z "$BCKP_PASS" ]
|
|
then
|
|
BCKP_PASS="Riuy6of sae^W0Sh"
|
|
fi
|