diff --git a/manifest.json b/manifest.json index c72ced6..894f8a5 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ }, "url": "https://forgejo.org", "license": "MIT", - "version": "1.18.5-0~ynh1", + "version": "1.18.5-0~ynh2", "maintainer": { "name": "Emmanuel Averty", "email": "emmanuel.averty@free.fr" diff --git a/scripts/upgrade b/scripts/upgrade index a0cdfb8..099f324 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -171,7 +171,7 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_script_progression --message="Configuring log rotation..." --weight=1 # Use logrotate to manage application logfile(s) -ynh_use_logrotate --logfile "/var/log/$app" +ynh_use_logrotate --logfile "/var/log/$app" --nonappend chown -R $app:$app "/var/log/$app" chmod u=rwX,g=rX,o= "/var/log/$app"