diff --git a/scripts/restore b/scripts/restore index e96e040..561b280 100644 --- a/scripts/restore +++ b/scripts/restore @@ -104,6 +104,10 @@ ynh_script_progression --message="Restoring the logrotate configuration..." --we ynh_restore_file --origin_path="/etc/logrotate.d/$app" +ynh_restore_file --origin_path="/var/log/$app" +chown -R $app:$app "/var/log/$app" +chmod u=rwX,g=rX,o= "/var/log/$app" + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================