From 7ea953b6fe90d8754802ad8adaf35600fad8835f Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 27 Oct 2024 00:47:15 -0700 Subject: [PATCH] add gitea repo default units --- templates/etc/gitea/conf/app.ini.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/etc/gitea/conf/app.ini.j2 b/templates/etc/gitea/conf/app.ini.j2 index 0af1d8a..92039a5 100644 --- a/templates/etc/gitea/conf/app.ini.j2 +++ b/templates/etc/gitea/conf/app.ini.j2 @@ -21,6 +21,9 @@ DEFAULT_PUSH_CREATE_PRIVATE = false ENABLE_PUSH_CREATE_USER = true ENABLE_PUSH_CREATE_ORG = true DEFAULT_BRANCH = main +{% if gitea_repo_default_units is defined %} +DEFAULT_REPO_UNITS = {{ gitea_repo_default_units }} +{% endif %} [server] SSH_DOMAIN = {{ gitea_basename }}