diff --git a/scripts/backup b/scripts/backup index 3b606f0..5de792a 100755 --- a/scripts/backup +++ b/scripts/backup @@ -67,7 +67,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" # BACKUP GALÈNE LOG #================================================= -#ynh_backup --src_path="/var/log/$app" +ynh_backup --src_path="/var/log/$app" #================================================= # BACKUP SYSTEMD diff --git a/scripts/install b/scripts/install index 1a4abda..499196f 100755 --- a/scripts/install +++ b/scripts/install @@ -61,7 +61,7 @@ ynh_app_setting_set --app=$app --key=password --value=$password #================================================= # CREATE A DH FILE #================================================= -ynh_script_progression --message="Creating a dh file..." --weight=3 +ynh_script_progression --message="Creating a dhparam file..." --weight=3 # WARNING : theses command are used in INSTALL, UPGRADE, RESTORE # For any update do it in all files diff --git a/scripts/restore b/scripts/restore index 72054a1..386a079 100755 --- a/scripts/restore +++ b/scripts/restore @@ -66,6 +66,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_script_progression --message="Restoring the app main directory..." --weight=1 ynh_restore_file --origin_path="$final_path" +ynh_restore_file --origin_path="/etc/$app" ynh_restore_file --origin_path="/var/log/$app" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index e3cb11f..fa5aa13 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -135,13 +135,13 @@ then # MAKE A CLEAN LOGROTATE CONFIG #================================================= - ynh_use_logrotate --logfile /var/log/matrix-$app --nonappend + ynh_use_logrotate --logfile /var/log/$app --nonappend fi #================================================= # CREATE A DH FILE #================================================= -ynh_script_progression --message="Creating a dh file..." --weight=3 +ynh_script_progression --message="Creating a dhparam file..." --weight=3 # WARNING : theses command are used in INSTALL, UPGRADE, RESTORE # For any update do it in all files