Merge pull request #277 from fpiecka/master

chore: Allow settings override in sogo-backup.sh
pull/276/head
Francis Lachapelle 2020-05-27 10:59:38 -04:00 committed by GitHub
commit a0320400d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ set -o pipefail
#set -x
PROGNAME="$(basename $0)"
BACKUP_DIR=~sogo/backups
BACKUP_DIR=${BACKUP_DIR:-~sogo/backups}
SOGO_TOOL=/usr/sbin/sogo-tool
DAYS_TO_KEEP="30"
DAYS_TO_KEEP=${DAYS_TO_KEEP:-30}
DATE=$(date +%F_%H%M)
LOG="logger -t $PROGNAME -p daemon.info"