shorter lines for section titles

This commit is contained in:
Jérémy Lecour 2019-03-31 21:59:59 +02:00
parent 92d6b8af87
commit abbb20e5d4

View file

@ -15,7 +15,7 @@
# #
# /!\ DON'T FORGET TO SET "MAIL" and "SERVERS" VARIABLES # /!\ DON'T FORGET TO SET "MAIL" and "SERVERS" VARIABLES
##### Configuration ############################################################ ##### Configuration ###################################################
# email adress for notifications # email adress for notifications
MAIL=jdoe@example.com MAIL=jdoe@example.com
@ -32,7 +32,7 @@ LOCAL_BACKUP_DIR="/home/backup"
# You can set "linux" or "bsd" manually or let it choose automatically # You can set "linux" or "bsd" manually or let it choose automatically
SYSTEM=$(uname | tr '[:upper:]' '[:lower:]') SYSTEM=$(uname | tr '[:upper:]' '[:lower:]')
##### SETUP AND FUNCTIONS ###################################################### ##### SETUP AND FUNCTIONS #############################################
# shellcheck disable=SC2174 # shellcheck disable=SC2174
mkdir -p -m 700 ${LOCAL_BACKUP_DIR} mkdir -p -m 700 ${LOCAL_BACKUP_DIR}
@ -93,7 +93,7 @@ echo "$$" > ${PIDFILE}
# shellcheck disable=SC2064 # shellcheck disable=SC2064
trap "rm -f ${PIDFILE}" EXIT trap "rm -f ${PIDFILE}" EXIT
##### LOCAL BACKUP ############################################################# ##### LOCAL BACKUP ####################################################
# You can comment or uncomment sections below to customize the backup # You can comment or uncomment sections below to customize the backup
@ -236,7 +236,7 @@ else
pkg_info -m > ${LOCAL_BACKUP_DIR}/packages pkg_info -m > ${LOCAL_BACKUP_DIR}/packages
fi fi
##### REMOTE BACKUP ############################################################ ##### REMOTE BACKUP ###################################################
n=0 n=0
server="" server=""
@ -310,7 +310,7 @@ rsync -avzh --stats --delete --delete-excluded --force --ignore-errors --partial
END=$(/bin/date +"%d-%m-%Y ; %H:%M") END=$(/bin/date +"%d-%m-%Y ; %H:%M")
##### REPORTING ################################################################ ##### REPORTING #######################################################
echo "EvoBackup - ${HOSTNAME} - START ${BEGINNING}" \ echo "EvoBackup - ${HOSTNAME} - START ${BEGINNING}" \
>> /var/log/evobackup.log >> /var/log/evobackup.log