From 4790dcfc39ecfd382fbcb3e5250f76f1522f955b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 22 Jul 2023 20:03:25 +0200 Subject: fix gitea --- roles/gitea/templates/app.ini.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles/gitea/templates') diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2 index 3be53b0..26c1527 100644 --- a/roles/gitea/templates/app.ini.j2 +++ b/roles/gitea/templates/app.ini.j2 @@ -8,6 +8,7 @@ RUN_MODE = prod ROOT = /home/git/gitea-repositories [server] +APP_DATA_PATH = /home/git/ PROTOCOL = https DOMAIN = {{ ansible_facts.fqdn }} ROOT_URL = {{ gitea.root_url }} @@ -54,7 +55,6 @@ ALLOWED_HOST_LIST = {{ gitea.webhook_allowed_hosts }} [mailer] ENABLED = {{ gitea.mail.enable }} {% if gitea.mail.enable %} -SEND_BUFFER_LEN = 100 SUBJECT_PREFIX = {{ gitea.mail.subject_prefix }} HOST = {{ gitea.mail.smtp_host }} SKIP_VERIFY = {{ gitea.mail.skip_verify }} @@ -67,6 +67,9 @@ MAILER_TYPE = smtp SENDMAIL_PATH = sendmail SENDMAIL_ARGS = SENDMAIL_TIMEOUT = 5m + +[queue.mailer] +SEND_BUFFER_LEN = 100 {% endif %} [log] -- cgit v1.2.3