diff --git a/scripts/restore b/scripts/restore index 3548478..6abb421 100755 --- a/scripts/restore +++ b/scripts/restore @@ -143,6 +143,13 @@ ynh_script_progression --message="Restoring the logrotate configuration..." --ti ynh_restore_file --origin_path="/etc/logrotate.d/$app" +#================================================= +# RESTORE THE LOGS +#================================================= +ynh_script_progression --message="Restoring the logs..." --weight=1 + +ynh_restore_file --origin_path="/var/log/$app/$app.log" + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================