diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2 index f327ebe..1b1a899 100644 --- a/roles/gitea/templates/app.ini.j2 +++ b/roles/gitea/templates/app.ini.j2 @@ -43,3 +43,10 @@ LEVEL = warn [oauth2] JWT_SECRET = {{ gitea_jwt_secret }} + +[cron] +ENABLED = true + +[cron.archive_cleanup] +SCHEDULE = @midnight +OLDER_THAN = 168h