Merge pull request #1138 from YunoHost/ynh_exec_warn_less-dyndns-backup

ynh_exec_warn_less dyndns backup
This commit is contained in:
Alexandre Aubin 2021-01-14 19:46:26 +01:00 committed by GitHub
commit c59393fcc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,5 +7,5 @@ mkdir -p $YNH_CWD
cd "$YNH_CWD"
# Backup the configuration
ynh_backup --src_path="/etc/yunohost/dyndns" --not_mandatory
ynh_backup --src_path="/etc/cron.d/yunohost-dyndns" --not_mandatory
ynh_exec_warn_less ynh_backup --src_path="/etc/yunohost/dyndns" --not_mandatory
ynh_exec_warn_less ynh_backup --src_path="/etc/cron.d/yunohost-dyndns" --not_mandatory