IS_ELASTIC_BACKUP: New path
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build encountered an error

According to latest zzz_evobackup, path is /home/backup-elasticsearch
This commit is contained in:
Benoît S. 2019-06-21 15:44:39 +02:00
parent 8e2c8b306d
commit c0b6e3d474

View file

@ -862,7 +862,7 @@ check_redis_backup() {
check_elastic_backup() {
if is_installed elasticsearch; then
# You could change the default path in /etc/evocheck.cf
ELASTIC_BACKUP_PATH=${ELASTIC_BACKUP_PATH:-"/home/backup/elasticsearch"}
ELASTIC_BACKUP_PATH=${ELASTIC_BACKUP_PATH:-"/home/backup-elasticsearch"}
test -d "$ELASTIC_BACKUP_PATH" || failed "IS_ELASTIC_BACKUP" "Elastic snapshot is missing (${ELASTIC_BACKUP_PATH})"
fi
}